Maths Olympiad Prep

Track / Stage 3 / 232 of 260 #872 of 2604

Problem 872

AMC 10/12, early questions
Combinatorics Difficulty 3.9 Prove it Japan Junior Mathematical Olympiad · Japan

Suppose you write down on a blackboard without repetition each of those positive integers which are less than or equal to 10610^6 and are divisible by 33. How many 11's do you have to write on the blackboard?

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

For k=0,1,2,3,4,5k = 0, 1, 2, 3, 4, 5 let us denote by AkA_k the set of all multiples of 33 less than or equal to 10610^6 whose 10k10^k's digit is 11, and define NkN_k to be the number of elements in the set AkA_k. Then the desired answer for the problem is ∑k=05Nk\sum_{k=0}^5 N_k.

The set A5A_5 consists of multiples of 33 lying in between 100000100000 and 200000200000, and there are 3333333333 of those starting with 100002100002 and ending with 199998199998. Hence N5=33333N_5 = 33333.

Let us now consider NkN_k for 0≤k≤40 \le k \le 4. For a number nn in the set AkA_k associate a number n′n', which is obtained from nn by interchanging the 10k10^k's digit of nn with the 10510^5's digit of nn (if nn has less than 66 digits, we consider a 66 digit number by supplying necessary number of 00's in upper digits, and define n′n'). Since the sum of the digits of n′n' obtained in this way is the same as the sum of digits of nn, we see that n′n' is a multiple of 33 and hence belongs to the set A5A_5 as the 10510^5's digit of n′n' is 11. Conversely, by interchanging the 10510^5's digit and 10k10^k's digit of a number in the set A5A_5, we get a number belonging to the set AkA_k. Thus, we see that there is a one-to-one correspondence between the elements of the sets AkA_k and A5A_5, and therefore, there are exactly 3333333333 elements in the set AkA_k also for each k=0,1,2,3,4k = 0, 1, 2, 3, 4.

Consequently, the answer we seek is ∑k=05Nk=6×33333=199998\sum_{k=0}^5 N_k = 6 \times 33333 = 199998.

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