AMC 10 · 2005 · #22
Grade 7 number-theoryPick an answer.
AMC 10 2005 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.
Checking all 24 values one by one is slow, so Tool #4 (Introduce a Variable) first replaces the sum with the formula (n(n+1))/2 and simplifies the quotient into one clean fraction — that turns a divisibility puzzle about n! into a question about a single factor n+1. Tool #5 (Look for a Pattern) then tests what kind of n+1 breaks the divisibility, and the pattern is sharp: it fails exactly when n+1 is an odd prime and works every other time. Because the failures are the rare cases, Tool #16 (Count the Complement) is the efficient finish — count the odd primes that fail and subtract from 24 instead of hunting for the many that succeed.
Replace the sum with a formula
The divisor 1 + 2 + … + n is an arithmetic sum equal to (n(n+1))/2, so we ask instead when n! divided by that value is a whole number.
A running sum from 1 to n has a closed form, so trade the long addition for one tidy expression.
6.EE.A.2Introduce A VariableSimplify the quotient
Dividing by that fraction flips it, and since n! = n · (n-1)! the shared n cancels, leaving (2 (n-1)!)/(n+1) — everything now hangs on n+1.
Cancel the shared factor n so only n+1 is left to worry about.
6.EE.A.3Introduce A VariableSee when it fails: n+1 an odd prime
If n+1 is an odd prime p, it divides neither 2 nor (n-1)! = 1 · 2 … (p-2), whose factors are all smaller than p — so those n fail.
A prime can only come from a factor equal to itself, and every factor below it is too small.
A prime can only come from a factor equal to itself, and every factor below it is too small.
▸ Why?
Every number has exactly one prime recipe, so a prime appears only where it is explicitly a factor.
▸ Why?
Without that factor present the division leaves a remainder, so the quotient is not a whole number.
See when it works: everything else
Any other n+1 divides in: its factors already sit inside (n-1)! (for 9, the 3 and the 6), and n+1 = 2 and 4 check out by hand.
A composite number's factors are already waiting inside the factorial, so it divides in.
7.NS.A.2Look For A PatternCount the complement
Only odd-prime n+1 fails; from 2 to 25 those are 3, 5, 7, 11, 13, 17, 19, 23, eight in all, so 24 - 8 = 16 values work.
Failures are the rare odd primes, so counting them and subtracting beats listing every success.
4.OA.B.4Change Focus Count The ComplementRewrite 1 + 2 + … + n as (n(n+1))/2, simplify, and the divisibility fails only when n+1 is an odd prime — so count those 8 primes and subtract from 24 to get 16.
- Replace the sum with a formula
- Simplify the quotient
- See when it fails: n+1 an odd prime
- See when it works: everything else
- Count the complement