MathLabs

Problem 4

When 444444444444^{4444} is written in decimal notation, the sum of its digits is AA. Let BB be the sum of the digits of AA. Find the sum of the digits of BB. (AA and BB are written in decimal notation.)
Step 1 of 6: Bound the number of digits of 444444444444^{4444}
In plain words

Chasing the exact value of 444444444444^{4444} is hopeless (it has tens of thousands of digits), so the trick is to never compute it: bound how large its digit sum can possibly be, then bound the digit sum of that, and finally pin down the last digit sum using arithmetic modulo 9, which digit sums always respect.

44444444<100004444=10177764444^{4444} < 10000^{4444} = 10^{17776}
Detailed analysis

Since 4444<10000=1044444 < 10000 = 10^4, raising to the 44444444th power gives 44444444<(104)4444=10177764444^{4444} < (10^4)^{4444} = 10^{17776}. A positive integer less than 101777610^{17776} has at most 1777617776 digits, and each digit is at most 99, so its digit sum AA satisfies A≤9⋅17776=159984A \le 9 \cdot 17776 = 159984.