AMC 10 · 2005 · #24
Grade 8 number-theoryPick an answer.
AMC 10 2005 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.
The condition P(n)=√(n) is a disguise. Unpacking it (Tool #4, Introduce a Variable) shows n must be the square of a prime: write n=p² and n+48=q² with p,q prime. Subtracting turns the whole problem into one clean equation q²-p²=48. Factoring the difference of squares gives (q-p)(q+p)=48, so the primes are pinned down by the factor pairs of 48. Tool #2 (Make a Systematic List) enumerates those pairs, and Tool #3 (Eliminate Possibilities) throws out the pairs whose p or q is not prime, leaving the exact count.
Decode P(n)=√n
A greatest prime factor is a whole number, so n is a perfect square p². And P(p²)=p only when p itself is prime.
P(m)=√(m) is just a code for “m is a prime squared.”
8.EE.A.2Introduce A VariableApply it to both numbers
The same decoding gives n+48=q² with q prime; subtracting the two equations removes n and leaves q²-p²=48.
Naming both square roots lets the +48 gap become a single equation.
6.EE.B.6Introduce A VariableFactor the difference of squares
A difference of squares factors, so (q-p)(q+p)=48 — the factor pairs of 48 now do the work instead of blind prime hunting.
Turning a subtraction of squares into a product opens the door to factor-pair reasoning.
Turning a subtraction of squares into a product opens the door to factor-pair reasoning.
▸ Why?
A difference of two squares is the two numbers added multiplied by the two subtracted.
▸ Why?
Once the product is fixed, the possibilities are exactly its factor pairs, a short complete list.
Both factors must be even
Their sum 2q is even, so the factors share parity; an even product rules out both odd, leaving 2 and 24, 4 and 12, 6 and 8.
Same-parity factors of an even number are forced to both be even.
6.NS.B.4Make A Systematic ListSolve each pair and keep only primes
Halving each sum and difference, only (2,24) yields two primes p=11, q=13; the other pairs are not prime, so n=121 stands alone.
Each factor pair proposes a (p,q); keep it only if both are genuinely prime.
6.NS.B.4Eliminate Possibilities“Greatest prime factor equals the square root” secretly means “prime squared,” so set q²-p²=48, factor it as (q-p)(q+p), and only p=11,q=13 gives two primes.
- Decode P(n)=√n
- Apply it to both numbers
- Factor the difference of squares
- Both factors must be even
- Solve each pair and keep only primes