2012 AIME I Problem 1

Attempt Problem 1 of the 2012 AIME I 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 2012 AIME I solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

1.

Find the number of positive integers with three not necessarily distinct digits, abc,abc, with a0a \ne 0 and c0c \ne 0 such that both abcabc and cbacba are multiples of 4.4.

Answer: 40
Concepts:divisibilitydigitscasework
Difficulty rating: 1950
Solution:

An integer is a multiple of 44 exactly when its last two digits form a multiple of 4,4, so we need 410b+c4 \mid 10b + c and 410b+a.4 \mid 10b + a. In particular aa and cc are even, and subtracting the two conditions shows 4ac.4 \mid a - c. The even nonzero digits split by remainder mod 44 into {2,6}\{2, 6\} and {4,8},\{4, 8\}, so aa and cc must both come from the same one of these sets: 44 ordered pairs (a,c)(a, c) from each.

If c2(mod4),c \equiv 2 \pmod 4, then 10b+c2b+2(mod4)10b + c \equiv 2b + 2 \pmod 4 requires bb odd (55 choices), and the condition on 10b+a10b + a holds automatically since ac(mod4).a \equiv c \pmod 4. If c0(mod4),c \equiv 0 \pmod 4, then bb must be even (55 choices).

The count is 45+45=40.4 \cdot 5 + 4 \cdot 5 = 40.

Full Exam

Problem 1 in Other Years