2024 AMC 12A Problem 9

Below is the professionally curated solution for Problem 9 of the 2024 AMC 12A, 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 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:difference of squaresperfect squareoptimization

Difficulty rating: 1510

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

Solution:

Write M+1213=a2M+1213=a^2 and M+3773=b2,M+3773=b^2, so b2a2=2560,b^2-a^2=2560, i.e. (ba)(b+a)=2560.(b-a)(b+a)=2560. Both factors have the same parity, hence both even. To maximize aa (and thus MM), minimize ba:b-a: take ba=2, b+a=1280,b-a=2,\ b+a=1280, so a=639.a=639. Then M=63921213=4083211213=407108,M=639^2-1213=408321-1213=407108, whose units digit is 8.8. Thus, the correct answer is E.

Problem 9 in Other Years