Olympiad digits!

When 444 4 4444 4444^{4444} is written in decimal notation, the sum of it's digit is A. Let B be the sum of the digits of A. Find the sum of the digits of B. (A and B are written in decimal notation)

This problem is from IMO 1975 problem 4

For more such problems click here


The answer is 7.

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.

2 solutions

Alexander Shannon
Apr 17, 2020

Define f ( n ) f(n) , for n N n\in \mathbb{N} , to be f ( n ) = n f(n)=n , when n A = { 1 , , 9 } n\in A=\{1,\dots, 9\} , and to be the sum of the digits of n n , if n ∉ A n \not\in A .

It can be shown that, If n ∉ A n \not\in A ,then f ( n ) < n f(n)<n . Therefore, for some m N m \in \mathbb{N} , the m m -fold application of f m ( n ) f_m(n) would be a member of A A . To determine which member of A A , n m o d 9 n \ mod \ 9 can be calculated. For the case 444 4 4444 4444^{4444} , the answer is 7 7 .

Then we need to prove that f 3 ( 444 4 4444 ) f_3(4444^{4444}) is actually 7 7 . In other words, applying f f , three times, would give us a single digit number.

f ( 444 4 4444 ) 9 × log 10 444 4 4444 = 145890 f(4444^{4444}) \leq 9 \times \lfloor \log_{10} 4444^{4444} \rfloor =145890

f ( 444 4 4444 ) f(4444^{4444}) would have a maximum of 6 6 digits. Therefore

f 2 ( 444 4 4444 ) 9 × 5 = 45 f_2(4444^{4444}) \leq 9 \times 5 = 45

finally,

f 3 ( 444 4 4444 ) 3 + 9 = 12 f_3(4444^{4444}) \leq 3+9=12

The only natural number, less than or equal to 12 12 ,that is congruent to 7 7 ,mod 9 9 , is 7 7 itself.

Note that 444 4 4444 < 1000 0 4444 = ( 1 0 4 ) 4444 = 1 0 17776 4444^{4444}<10000^{4444}=\left(10^4\right)^{4444}=10^{17776}

Therefore 444 4 4444 4444^{4444} has fewer than 17776 digits. This shows that A < 9 * 17775=159975. The sum of the digits of A is then maximized when A = 99999, so B is less than or equal to 45. Note that out of all of the positive integers less than or equal to 45, the maximal sum of the digits is 12.

It's not hard to prove that any base-10 number is equivalent to the sum of its digits modulo 9. Therefore 444 4 4444 4444^{4444} is equivalent to A which is equivalent to B (modulo 9). This motivates us to compute X, where 1 is less than or equal to X which is less than or equal to 12, such that 444 4 4444 4444^{4444} is equivalent to X (modulo 9). The easiest way to do this is by searching for a pattern. Note that

444 4 1 7 ( m o d 9 ) 444 4 2 4 ( m o d 9 ) 444 4 3 1 ( m o d 9 ) 4444^1\equiv 7(\bmod 9)\\4444^2\equiv 4(\bmod 9)\\4444^3\equiv 1(\bmod 9)

and since 4444 = 3 * 1481 + 1

444 4 4444 444 4 3 × 1481 + 1 ( 444 4 3 ) 1481 × 4444 1 × 4444 7 ( m o d 9 ) 4444^{4444}\equiv 4444^{3\times1481+1}\equiv \left(4444^3\right)^{1481}\times 4444\equiv 1\times 4444\equiv 7(\bmod{9})

Thus, X = 7, which means that the sum of the digits of B is 7.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...