Skip to main content

2021 Fall AMC 12A Problem 4

Problem 4 of 25EasierNumber Theory

The six-digit number 20210A\underline{2}\,\underline{0}\,\underline{2}\,\underline{1}\,\underline{0}\,\underline{A} is prime for only one digit A.A. What is A?A?

Answer choices

Show solution

Solution

The number is 202100+A.202100 + A. Any even AA makes it even, and A=5A = 5 makes it divisible by 5,5, so AA must be odd and not 5.5. For A=1A = 1 the digit sum is 66 (divisible by 33); for A=7A = 7 the digit sum is 1212 (divisible by 33); and 202103=1118373.202103 = 11 \cdot 18373. Only 202109202109 survives all tests, and it is prime. Thus, the correct answer is E.

More practice

Concepts: prime · divisibility

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