Skip to main content

2007 AMC 12A Problem 11

Problem 11 of 25IntermediateNumber Theory

A finite sequence of three-digit integers has the property that the tens and units digits of each term are, respectively, the hundreds and tens digits of the next term, and the tens and units digits of the last term are, respectively, the hundreds and tens digits of the first term. For example, such a sequence might begin with terms 247,247, 475,475, and 756756 and end with the term 824.824. Let SS be the sum of all the terms in the sequence. What is the largest prime number that always divides S?S?

Answer choices

Show solution

Solution

Because of the cycling property, each digit that appears is used the same number of times in the hundreds, tens, and units places. Let kk be the sum of the units digits over all terms. Then S=100k+10k+k=111kS=100k+10k+k=111k =337k.=3\cdot 37\cdot k. So SS is always divisible by 37.37. It need not be divisible by anything larger: the sequence 123,231,312123,231,312 gives S=666=23237.S=666=2\cdot 3^2\cdot 37. Thus, the correct answer is D.

More practice

Concepts: place value · divisibility

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.