Tessellate S.T.E.M.S. (2019) - Mathematics - School - Set 1 - Objective Problem 4

The number of nines in the decimal representation of the least multiple of 2016 2016 whose sum of digits is 2016 2016 .


This problem is a part of Tessellate S.T.E.M.S. (2019)

220 221 219 217

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

We claim that the desired number is 598999 99989888 598 999 \cdots 99989888 (with 217 217 times 9 9 in between).

It is clear that the number has more than 224 224 digits, because 2016 ÷ 9 = 224 2016 ÷ 9 = 224 . Now, to minimize the number we need to find a number with 225 225 digits which is a multiple of 2016 2016 . We write

N = a 224 a 223 a 4 a 3 a 2 a 1 a 0 N = \overline{a_{224}a_{223} \cdots a_4a_3a_2a_1a_0}

Since 2016 = 2 5 . 3 2 . 7 2016 = 2^5 . 3^2 . 7 , it is necessary and sufficient that the number k a 4 a 3 a 2 a 1 a 0 k\overline{ a_4a_3a_2a_1a_0} is a multiple of 32 32 and the number N N is a multiple of 7 7 , since we already have N s ( N ) = i = 0 224 a i = 2016 0 ( m o d 9 ) N \equiv s(N) = \sum_{i=0}^{224} a_i = 2016 \equiv 0 \pmod{9} .

First, we will analyze s ( k ) = j = 0 4 a j s(k) = \sum_{j=0}^4 a_j . The digit a 0 a_0 is even and is least equal to 8 8 . Thus we have the following cases:

  • If s ( k ) = 44 s(k) = 44 , then k k is 99998 99998 and all its permutations.

  • If s ( k ) = 43 s(k) = 43 , then k k is 99988 99988 and all its permutations.

  • If s ( k ) = 42 s(k) = 42 , then k k is 99888 , 99978 99888, 99978 , or 99996 99996 and all its permutations.

  • If s ( k ) = 41 s(k) = 41 , then k k is 98888 , 99878 98888, 99878 , or 99968 99968 and all its permutations.

We discard most of the numbers since the ones terminating in 7 , 9 , 78 , 86 , 98 , 788 , 988 , 996 7, 9, 78, 86, 98, 788, 988, 996 or 8888 8888 are not multiples of 32 32 . The only multiples of 32 32 in all of these cases are 99968 99968 and 89888 89888 , and for both of these, s ( k ) = 41 s(k) = 41 .

If a 224 3 a_{224} \leq 3 then i = 0 224 a i 3 + 219.9 + j = 0 4 a j = 1974 + s ( k ) s ( k ) 42 \sum_{i=0}^{224} a_i \leq 3+219 . 9+\sum_{j=0}^4 a_j = 1974+s(k) \implies s(k) \geq 42 , a contradiction, as s ( k ) 41 s(k) \leq 41 .

If a 224 = 4 a_{224} = 4 , then 2016 = i = 0 224 a i 4 + 219.9 + s ( k ) = 1975 + s ( k ) 2016 = \sum_{i=0}^{224} a_i \leq 4 + 219 . 9 + s(k) = 1975 + s(k) , then s ( k ) 41 s(k) \geq 41 , and s ( k ) = 41 s(k) = 41 , whence N N can terminate in only two ways, but since 99968 89888 1 ( m o d 7 ) 99968 \equiv 89888 \equiv 1 \pmod{ 7} , to minimize we choose 89888 89888 .

N = 4999 99989888 N = 4999 \cdots 99989888 ( 219 219 times 9 9 in between) = 4.1 0 224 + ( 1 0 219 1 ) . 1 0 5 + 89888 4.2 + ( 6 1 ) . 5 + 1 = 6 ≢ 0 ( m o d 7 ) = 4 . 10^{224} + (10^{219} - 1) . 10^5 + 89888 \equiv 4 . 2 + (6 - 1) . 5 + 1 = 6 \not\equiv 0 \pmod{ 7} .

If a 224 = 5 a_{224} = 5 , then 2016 = i = 0 224 a i 5 + 219.9 + s ( k ) = 1976 + s ( k ) 2016 = \sum_{i=0}^{224} a_i \leq 5 + 219 . 9 + s(k) = 1976 + s(k) , whence s ( k ) 40 s(k) \geq 40 . To minimize we must have s ( k ) = 41 s(k) = 41 and as in the previous case, N N terminates in 89888 89888 .

N = 5999 8 99989888 N = 5 999 \cdots 8 \cdots 99989888 ( 219 219 times 9 9 in total) = 5.1 0 224 + ( 1 0 219 1 ) . 1 0 5 1 0 m + 89888 = 5 . 10^{224} + (10^{219} - 1) .10^5 - 10^m + 89888 where 5 m 223 5 \leq m \leq 223 .

N 5.2 + ( 6 1 ) . 5 1 0 m + 1 1 1 0 m 0 ( m o d 7 ) N \equiv 5 . 2 + (6 - 1) . 5 - 10^m + 1 \equiv 1 - 10^m \equiv 0 \pmod{7} . Then 1 0 m 1 ( m o d 7 ) m 0 ( m o d 6 ) 10^m \equiv 1 \pmod{7} \iff m \equiv 0 \pmod{ 6} . To minimize we choose the highest value for m m , namely, m = 222 m = 222 .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...