Maths Olympiad Prep

Library / /46 of 82

Number theory Difficulty 5.2 AIME, harder Prove it United States

Problem:
Let SS be a set of consecutive positive integers such that for any integer nn in SS, the sum of the digits of nn is not a multiple of 11. Determine the largest possible number of elements of SS.

Solution

Solution:
Answer: 38

We claim that the answer is 38. This can be achieved by taking the smallest integer in the set to be 999981. Then, our sums of digits of the integers in the set are
45,,53,45,,54,1,,10,2,,10 45, \ldots, 53, 45, \ldots, 54, 1, \ldots, 10, 2, \ldots, 10
none of which are divisible by 11.

Suppose now that we can find a larger set SS: then we can then take a 39-element subset of SS which has the same property. Note that this implies that there are consecutive integers a1,a,a+1a-1, a, a+1 for which 10b,,10b+910b, \ldots, 10b+9 are all in SS for b=a1,a,a+1b = a-1, a, a+1. Now, let 10a10a have sum of digits NN. Then, the sums of digits of 10a+1,10a+2,,10a+910a+1, 10a+2, \ldots, 10a+9 are N+1,N+2,,N+9N+1, N+2, \ldots, N+9, respectively, and it follows that n1(mod11)n \equiv 1 \pmod{11}.

If the tens digit of 10a10a is not 9, note that 10(a+1)+910(a+1)+9 has sum of digits N+10N+10, which is divisible by 11, a contradiction. On the other hand, if the tens digit of 10a10a is 9, the sum of digits of 10(a1)10(a-1) is N1N-1, which is also divisible by 11. Thus, SS has at most 38 elements.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.