The two digits

2 1 a 22 2 a 222 3 a 2222 4 a 222 222 a \underbrace{\huge 2}_1{\huge \color{#D61F06}a}\underbrace{\huge 22}_2{\color{#D61F06}\huge a} \underbrace{\huge 222}_3 {\huge \color{#D61F06}a}\underbrace{\huge 2222}_4 {\huge \color{#D61F06}a} \huge 222 \cdots 222{\color{#D61F06}a}

The 90-digit number above is formed using only the digits 2 and a a . If this number is a multiple of 9, what are the possible values of a a ?

Note: The numbers below indicate the numbers of 2 between two a a 's.

( 2 , 3 , 5 , 7 ) (2, 3, 5, 7) ( 4 , 6 , 9 ) (4, 6, 9) ( 1 , 2 , 3 ) (1, 2, 3) ( 2 , 5 , 8 ) (2, 5, 8) ( 8 , 9 ) (8, 9) ( 1 , 3 , 6 , 9 ) (1, 3, 6, 9)

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.

3 solutions

Chew-Seong Cheong
Oct 28, 2017

We note the position from the left of the k k th a a is given by n a ( k ) = T k + k = k ( k + 1 ) 2 + k = k ( k + 3 ) 2 n_a(k) = T_k + k = \dfrac {k(k+1)}2+k = \dfrac {k(k+3)}2 , where T n T_n is the n n th triangular number. When k = 12 k=12 , we have n a ( 12 ) = 12 × 15 2 = 90 n_a(12) = \dfrac {12\times 15}2 = 90 . This confirms that the last digit is a a and that there are 12 a a 's and the number of 2's is 90 12 = 78 90-12= 78 .

Let N = 2 a 22 a 222 a a N = \overline{2a22a222a\cdots a} . If N N is divisible by 9, its sum of digits must be divisible by 9. The digital sum s d = 12 a + 78 × 2 = 12 a + 156 s_d = 12a+78\times 2 =12a + 156 . Therefore, we have:

N 0 (mod 9) 12 a + 156 0 (mod 9) 3 a + 3 0 (mod 9) 3 ( a + 1 ) 0 (mod 9) a = 2 , 5 , 8 \begin{aligned} N & \equiv 0 \text{ (mod 9)} \\ 12a + 156 & \equiv 0 \text{ (mod 9)} \\ 3a + 3 & \equiv 0 \text{ (mod 9)} \\ 3(a + 1) & \equiv 0 \text{ (mod 9)} \\ \implies a & = \boxed{2, 5, 8} \end{aligned}

Renz Sibal
Dec 9, 2017

if we group the 2s and a's into pairs like

2a 22a 222a...

we will see that the terms per group progressively increase by 1.

(1) since we need to find divisibility of 9, we should follow the rule first: getting the digit sum.

we also get the idea of sum of first n positive integers which is n(n+1)/2. (since we know about the before mentioned statement (1) )

but in the line of numbers, the "1" is missing

so, plugging that in...

90+1=n(n+1)/2

91 = n(n+1)/2

n = 13

we can conclude that the last group of the string has 13 digits.

thus, there are 13-2+1=12 groups in our string.

in each group, we have 1 a and the rest consists of 2s.

we now have :

2 + a

2 + 2 + a

...

2 + 2 + 2... + a (12 2s)

thats 12(13)/2 2s and 12 a's.

the sum of the 12(13)/2 2s is 12(13)(2)/2=12(13).

the digit sum now is:

12(13) + 12a

=12(13+a)

this such number MUST be divisible by 9.

12(13+a)/9

=4(13+a)/3

since 4 is not divisible by 3, 13+a must be divisible be 3.

if we check and observe, a=2,5,8

Sahar Bano
Mar 11, 2020

As the number is divisible by 9 Therefore the sum of all the digits is divisible by 3

There are 12 a in the series

Therefore there are 78 "2"

The sum of all the digits is 12a+78*2

8(3a+39) must be a multiple of 9

3a+39 must be a multiple of 9

3(a+13) must be a multiple of 9

Therefore a+13 must be a multiple of 3

Therefore possible values of a are {2,5,8}

Hence the answer is {2,5,8}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...