1 9 2 0 2 1 2 2 2 … 9 1 9 2 9 3
The number above is formed by concantenating the positive integers from 19 to 93 inclusive.
If a is the largest integer that such that 3 a divides the number described above, find the value of a .
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.
Actually, we have 3 a = 3 i.e., a = 1 . I believe you have a typo in your last sentence.
EDIT: I see that the typo has been fixed. Thanks.
By the way, there's actually a much simpler way using the divisibility rules of 3 and 9 . Denote the given value by x and its digit sum as σ ( x ) . We have,
σ ( x ) = ( 1 + 9 ) + ( 2 + 0 ) + … + ( 9 + 2 ) + ( 9 + 3 ) = ( 1 + 9 ) + [ k = 2 ∑ 8 j = 0 ∑ 9 ( k + j ) ] + ( 9 + 0 ) + ( 9 + 1 ) + ( 9 + 2 ) + ( 9 + 3 ) = 5 2 + k = 2 ∑ 8 j = 0 ∑ 9 ( k + j ) = 5 2 + k = 2 ∑ 8 ( 1 0 k + 4 5 ) = 7 1 7
The last few equalities follows by elementary summation identities and sum of first n positive integers formula.
All you have to do now is to simply show that 3 ∣ 7 1 7 but 9 ∣ 7 1 7 to conclude your answer by virtue of divisibility rules of 3 and 9 . This is trivial and is left as an exercise to the interested reader.
Log in to reply
Thank you for your solution. It's actually pretty nice and also neater than my solution :)
Log in to reply
Your solution is pretty neat too. Upvoted! :)
Problem Loading...
Note Loading...
Set Loading...
WARNING : This solution is a bit weird , viewer discretion is advised.
First, notice that 1 9 2 0 2 1 2 2 . . . 9 1 9 2 9 3 = ∑ n = 1 9 9 3 n ∗ 1 0 0 9 3 − n .
Second, also notice that 1 0 0 x ≡ 1 ( m o d 9 ) , ∀ x ∈ N . Thus, n ∗ 1 0 0 9 3 − n ≡ n ∗ 1 ≡ n ( m o d 9 ) ( 1 9 ≤ n ≤ 9 3 ) .
Combining both two, 1 9 2 0 2 1 2 2 . . . 9 1 9 2 9 3 ≡ ∑ n = 1 9 9 3 n ∗ 1 0 0 9 3 − n ≡ ∑ n = 1 9 9 3 n ≡ 4 2 0 0 ≡ 6 ( m o d 9 ) .
So, 1 9 2 0 2 1 2 2 . . . 9 1 9 2 9 3 is not divisible by 9, and using the same method, 1 9 2 0 2 1 2 2 . . . 9 1 9 2 9 3 is divisible by 3. Hence, the answer is a = 1