The 90-digit number above is formed using only the digits 2 and . If this number is a multiple of 9, what are the possible values of ?
Note: The numbers below indicate the numbers of 2 between two 's.
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.
We note the position from the left of the k th a is given by n a ( k ) = T k + k = 2 k ( k + 1 ) + k = 2 k ( k + 3 ) , where T n is the n th triangular number. When k = 1 2 , we have n a ( 1 2 ) = 2 1 2 × 1 5 = 9 0 . This confirms that the last digit is a and that there are 12 a 's and the number of 2's is 9 0 − 1 2 = 7 8 .
Let N = 2 a 2 2 a 2 2 2 a ⋯ a . If N is divisible by 9, its sum of digits must be divisible by 9. The digital sum s d = 1 2 a + 7 8 × 2 = 1 2 a + 1 5 6 . Therefore, we have:
N 1 2 a + 1 5 6 3 a + 3 3 ( a + 1 ) ⟹ a ≡ 0 (mod 9) ≡ 0 (mod 9) ≡ 0 (mod 9) ≡ 0 (mod 9) = 2 , 5 , 8