2024 AMC 10A Problem 15

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

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

15.

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:perfect squaredifference of squaresparityoptimization
Small hint:
Set M+1213=y2M + 1213 = y^2 and M+3773=x2;M + 3773 = x^2; subtract to get (x−y)(x+y)=2560(x - y)(x + y) = 2560
Big hint:
Both factors are even; the greatest MM comes from the smallest x−y,x - y, making yy as large as possible
Solution:
Set M+1213=y2M + 1213 = y^2 and M+3773=x2.M + 3773 = x^2. Subtracting, x2−y2=2560,x^2 - y^2 = 2560, so (x−y)(x+y)=2560.(x - y)(x + y) = 2560. The two factors share a parity, and their product is even, so both are even: write x−y=2s,x - y = 2s, x+y=2t,x + y = 2t, with st=640.st = 640. To make MM as large as possible we want y=t−sy = t - s as large as possible, so ss as small as possible. Take s=1,t=640,s = 1, t = 640, giving y=639.y = 639. Then M=6392−1213=407108,M = 639^2 - 1213 = 407108, whose units digit is 8.8. Thus, E is the correct answer.
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.