2005 AMC 10A Problem 24

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

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

24.

For each positive integer m>1,m \gt 1, let P(m)P(m) denote the greatest prime factor of m.m. For how many positive integers nn is it true that both P(n)=nP(n) = \sqrt{n} and P(n+48)=n+48?P(n + 48) = \sqrt{n + 48}?
00
11
33
44
55
Answer: B
Concepts:primeperfect squaredifference of squares
Small hint:
P(n)=nP(n) = \sqrt{n} forces nn to be the square of a prime
Big hint:
Write n=q2n = q^2 and n+48=p2;n + 48 = p^2; then 48=p2−q2=(p−q)(p+q)48 = p^2 - q^2 = (p - q)(p + q)
Solution:
The condition P(n)=nP(n) = \sqrt{n} means nn is the square of a prime q,q, and likewise n+48=p2n + 48 = p^2 for a prime p.p. Then 48=p2−q2=(p−q)(p+q).48 = p^2 - q^2 = (p - q)(p + q). Checking the same-parity factorizations of 48,48, only p−q=2, p+q=24p - q = 2,\ p + q = 24 yields primes, giving (p,q)=(13,11)(p, q) = (13, 11) and n=121.n = 121. So there is exactly one such n.n.
Thus, the correct answer is B.
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.