AMC 10 · 2005 · #24

Grade 8 number-theory
prime-numbersperfect-squaresdifference-of-squares convert-to-algebrasystematic-enumeration ↑ Prerequisites: prime-numbersperfect-squaresdifference-of-squares
📏 Medium solution 💡 3 insights
Problem

For each positive integer m>1m > 1, let P(m)P(m) denote the greatest prime factor of mm. For how many positive integers nn is it true that both P(n)=nP(n) = \sqrt{n} and P(n+48)=n+48P(n+48) = \sqrt{n+48}?

Pick an answer.

(A)
0
(B)
1
(C)
3
(D)
4
(E)
5

AMC 10 2005 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.

Try it yourself first — the explanation is most useful after you’ve attempted it.