AMC 10 Step by Step

2002 AMC 10B Problem 14

P11-15~2 minPrint

The number 2564⋅642525^{64}\cdot 64^{25} is the square of a positive integer NN . In decimal representation, the sum of the digits of NN is

Log in to save your progress.
Show solution without answering

Key insight

N is 5 to the 64th times 2 to the 75th. Pair each 5 with a 2 to make 64 tens; 2048 is left over.

Solution

The digit sum of a giant number is only easy if the number turns out to be simple, like a small number followed by zeros. A 22 times a 55 makes a 1010, which just adds a zero. So break everything into 22s and 55s.

1. Write each base as a prime power: 25=5225 = 5^2 and 64=2664 = 2^6. So
2564=5128,6425=2150.25^{64} = 5^{128}, \qquad 64^{25} = 2^{150}.
2. NN is the square root. Taking a square root halves each exponent (because 564⋅564=51285^{64} \cdot 5^{64} = 5^{128}):
N=564⋅275.N = 5^{64} \cdot 2^{75}.
3. There are 6464 fives and 7575 twos. Pair every five with a two to make 6464 tens. That uses 6464 twos, leaving 75−64=1175 - 64 = 11 twos:
N=1064⋅211.N = 10^{64} \cdot 2^{11}.
4. 211=20482^{11} = 2048. Multiplying by 106410^{64} writes 6464 zeros after it, so NN is 20482048 followed by 6464 zeros.
5. Digit sum: 2+0+4+8=142 + 0 + 4 + 8 = 14.

The answer is (B) 14\boxed{\textbf{(B)}\ 14}.

Why this works

Powers of 1010 only add zeros, and zeros add nothing to a digit sum. So whenever a huge number is made of 22s and 55s, pair them up into tens and look only at what is left over. That small leftover number decides the digits.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Write everything in primes: 2564=512825^{64} = 5^{128} and 6425=(26)25=215064^{25} = (2^6)^{25} = 2^{150}. Taking the square root halves each exponent:
N=564⋅275.N = 5^{64}\cdot 2^{75}.

Every 55 can be matched with a 22 to make a 1010; there are 6464 fives and 7575 twos, so 6464 pairs form and 1111 twos are left over:
N=(2⋅5)64⋅211=2048⋅1064.N = (2\cdot 5)^{64}\cdot 2^{11} = 2048 \cdot 10^{64}.

Multiplying by 106410^{64} just appends 6464 zeros, so the nonzero digits of NN are those of 20482048, with sum 2+0+4+8=142 + 0 + 4 + 8 = 14.

The answer is (B) 14\boxed{\textbf{(B)}\ 14}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.