AMC 10 · 2009 · #19
Grade 9 number-theoryPick an answer.
Tool #15 (Organize Information in More Ways) is the spine. The expression n⁴ - 360n² + 400 says nothing about primality as written, because primality is about factoring, and this form shows no factors. Regrouping the same expression as a difference of two squares turns it into a product, and a product is exactly what a primality question can be answered from. Tool #6 (Guess and Check) opens the work — a few sample values show the shape of the outputs — and closes it, by testing the two surviving candidates. Tool #14 (Extreme Principle) pins down the smallest possible value of the larger factor, which is the hinge of the whole argument. Tool #3 (Eliminate Possibilities) uses that bound to knock out every n except a handful, in one stroke rather than range by range. Tool #11 (Work Backwards) then starts from the condition the factor must satisfy and solves for the n that produce it.
Sample a few values
A few values show the outputs are mostly composite.
Checking cases tells you where to look, but a list can never cover an endless supply of inputs.
6.EE.A.2Guess And CheckSpot a hidden difference of squares
The expression hides a difference of squares.
The first and last terms are already perfect squares, so try to make the middle term the leftover square.
The first and last terms are already perfect squares, so the expression can be rewritten as a difference of two squares.
▸ Why?
A difference of two squares is the two quantities added multiplied by the two subtracted, which factors it at once.
▸ Why?
A prime has only one factoring, so once one factor is large the other has no choice but to be one.
Factor and confirm the identity
That factors it into two brackets.
Expanding the product back is the proof that the rewrite is an identity, valid for every input, not a lucky coincidence.
9.A-APR.A.1Organize Information In More WaysBound the larger factor
The larger bracket is always well above one.
Pushing n to its smallest allowed value, n=1, gives the smallest B can ever be, and even that is far above 1.
9.A-SSE.B.3Extreme PrincipleForce the small factor to be 1
So primality forces the smaller bracket to equal one.
A prime can only be written as a product one way — 1 times itself — so if one factor is already large, the other has no choice but to be 1.
4.OA.B.4Eliminate PossibilitiesSolve for the surviving inputs
Solving gives just two inputs.
Start from the value the factor is forced to take and run the algebra backwards to find which inputs deliver it.
9.A-REI.B.4Work BackwardsVerify both candidates, then add
Verifying both and adding gives 802, choice (E).
Forcing A=1 only narrows the suspects; each survivor still has to be tested for primality on its own.
4.OA.B.4Guess And CheckA quartic that looks unfactorable can hide a difference of squares: once f(n) = (n²-20n+20)(n²+20n+20), the second factor is always at least 41, so being prime forces the first factor to be exactly 1 — leaving only n = 1 and n = 19, whose primes 41 and 761 add to (E) 802.
- Sample a few values
- Spot a hidden difference of squares
- Factor and confirm the identity
- Bound the larger factor
- Force the small factor to be 1
- Solve for the surviving inputs
- Verify both candidates, then add