2007 AMC 10A Problem 22

Attempt Problem 22 of the 2007 AMC 10A below, then check your answer against the professionally curated solution 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 problems are used with official legal permission of the Mathematical Association of America (MAA).

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,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?
33
77
1313
3737
4343
Answer: D
Concepts:place valuedivisibility
Small hint:
Because of the cyclic shifting, each digit spends equal time in the hundreds, tens, and units places
Big hint:
So S=111kS = 111k for some integer k,k, and 111=3⋅37111 = 3 \cdot 37
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=3⋅37⋅k,S = 111k = 3 \cdot 37 \cdot k, so SS is always divisible by 37.37.
The sequence 123,123, 231,231, 312312 gives S=666=2⋅32⋅37,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.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.