The troubling four 4s...

Consider the number 444 4 4444 4444^{4444} . Let A be the sum of digits of this number and B be the sum of digits of A. Then find the sum of digits of B.


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.

3 solutions

You probably should have started off the question by mentioning the fact that it is an IMO problem.

It is indeed am IMO problem and it has been posted be 3 members before him....including me!

Satvik Golechha - 7 years, 1 month ago

i have my solution ... but anyone cant understand it ... -_-

Menard Menemedez - 7 years, 2 months ago

Log in to reply

What's that?

Ramasubramaniyan Gunasridharan - 7 years, 1 month ago
Ameya Salankar
May 8, 2014

Let N = 444 4 4444 = 4444^{4444} . The maximum number of digits in N is less than 4444 × 4 = 17776 4444\times4 = 17776 . Hence, the maximum possible value of A is 17776 × 9 = 159984 17776\times9 = 159984 .

Similarly, the maximum possible value of B is 45 45 & the sum of the digits of B 12 \leq 12 .

Observe, that N A B ( m o d 9 ) (mod 9) & 4444 4444 7 7 ( m o d 9 ) (mod 9) .

Since 7 3 7^{3} 1 1 ( m o d 9 ) (mod 9) , we get, 444 4 4444 7 4444 7 4444^{4444}≡7^{4444}≡7 ( m o d 9 ) (mod 9) as 4444 1 ( m o d 3 ) 4444≡1 (mod3) .

Hence, the sum of the digits of B is 7 \boxed{7} .

I don't understand this solution, sorry. Please can you explain: - why is the maximum possible value of B equal 45? - why is the maximum possible value of the sum of B's digits equal to 12? - why can mod9 be used to solve this problem - why can you conclude that the sum of the digits of B is 7?

Will Hawkes - 5 years, 6 months ago

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

Therefore 4444^{4444} has less than 17776 digits. This shows that A<9\cdot 17775=159975. The sum of the digits of A is then maximized when A=99999, so B\leq 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 4444^{4444}\equiv A\equiv B(\bmod{9}). This motivates us to compute X, where 1\leq X \leq 12, such that 4444^{4444}\equiv X(\bmod{9}). The easiest way to do this is by searching for a pattern. Note that

4444^1\equiv 7(\bmod 9)\4444^2\equiv 4(\bmod 9)\4444^3\equiv 1(\bmod 9)

and since 4444=3\times 1481+1,

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 \boxed{7}.

It seems that you didn't preview your L a T e X e D LaTeXeD characters!

Satvik Golechha - 7 years, 1 month ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...