2024 AMC 12A Problem 9

Attempt Problem 9 of the 2024 AMC 12A 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 2024 AMC 12A solutions, or check the answer key.

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

9.

Let MM be the greatest integer such that both M+1213M+1213 and M+3773M+3773 are perfect squares. What is the units digit of M?M?
11
22
33
66
88
Answer: E
Concepts:difference of squaresperfect squareoptimization
Small hint:
Let M+1213=a2M+1213=a^2 and M+3773=b2;M+3773=b^2; subtract to get b2−a2=2560b^2-a^2=2560
Big hint:
(b−a)(b+a)=2560(b-a)(b+a)=2560 with both factors even; to maximize M,M, make b−ab-a as small as possible
Solution:
Write M+1213=a2M+1213=a^2 and M+3773=b2,M+3773=b^2, so b2−a2=2560,b^2-a^2=2560, i.e. (b−a)(b+a)=2560.(b-a)(b+a)=2560. Both factors have the same parity, hence both even. To maximize aa (and thus MM), minimize b−a:b-a: take b−a=2, b+a=1280,b-a=2,\ b+a=1280, so a=639.a=639. Then M=6392−1213M=639^2-1213 =408321−1213=408321-1213 =407108,=407108, whose units digit is 8.8. Thus, the correct answer is E.
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.