2007 AMC 10A Problem 22

Below is the professionally curated solution for Problem 22 of the 2007 AMC 10A, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2007 AMC 10A solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:place valuedivisibility

Difficulty rating: 1920

22.

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,475,247, 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?

33

77

1313

3737

4343

Solution:

Each digit appears as a hundreds digit, a tens digit, and a units digit the same number of times across the sequence.

If kk is the sum of the units digits of all terms, then S=111k=337k,S = 111k = 3 \cdot 37 \cdot k, so SS is always divisible by 37.37.

The sequence 123,231,312123, 231, 312 gives S=666=23237,S = 666 = 2 \cdot 3^2 \cdot 37, which has no larger prime factor forced, so 3737 is the answer.

Thus, the correct answer is D.

Problem 22 in Other Years