Let be the sum of all the digits of ; let be the sum of digits of and let be the sum of all digits of . Find .
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.
Relevant wiki: Application of Divisibility Rules
Let N denote the number of digits of the number 5 5 5 5 5 5 5 5 . Then N = ⌊ lo g 1 0 5 5 5 5 5 5 5 5 + 1 ⌋ = ⌊ 5 5 5 5 lo g 1 0 5 5 5 5 + 1 ⌋ = 2 0 8 0 2 .
So the maximum value of x is, max ( x ) = 1 + 2 0 8 0 1 9’s 9 + 9 + 9 + ⋯ + 9 = 1 + 9 ( 2 0 8 0 1 ) = 1 8 7 2 1 0 .
Similarly, the maximum value of y is max ( y ) = 1 + 7 + 9 + 9 + 9 + 9 = 4 4 .
And, the the maximum value of z is max ( z ) = 3 + 9 = 1 2 . Thus 1 ≤ z ≤ 1 2 .
By application of divisibility rules , the repeated sum of digits of 5 5 5 5 5 5 5 5 is equal to 5 5 5 5 5 5 5 5 ≡ 9 ( 5 5 5 5 m o d 9 ) 5 5 5 5 ≡ 9 2 5 5 5 5 ≡ 9 2 5 5 5 5 ( m o d ( ϕ ( 9 ) ) ) = 2 5 ≡ 9 5 .
The penultimate step follows from Euler's totient function .
Hence, z ≡ 5 ( m o d 9 ) . And because 1 ≤ z ≤ 1 2 , then z = 5 .