AMC 10 · 2019 · #25
Grade 8 arithmeticPick an answer.
AMC 10 2019 problem © Mathematical Association of America (MAA AMC). Reproduced for educational use.
Tool #9 (Easier Problem): the related ratio M(n) = is always an integer (it's a multinomial coefficient), and our target equals . So the question reduces to: for which n does n² divide M(n)? Tool #16 (Complement): instead of counting successes, count failures and subtract from 50. Tool #7 (Subproblems): for any prime p ∣ n, check the p-adic valuation v_p of numerator and denominator using Legendre. Tool #5 (Pattern): test small n (n=1, 2, 3, 4, 5, 6, …) to spot the failure pattern. Tool #2 (Systematic List): list all primes and the special composite n = 4 in [1, 50].
M(n) = is always a whole number, and the target equals , so it is an integer exactly when n² ∣ M(n).
The full multinomial is always integral; divisibility by n² is the only obstruction.
6.NS.B.4Solve An Easier Related ProblemCount by complement: find how many n in 1–50 have n² ∤ M(n) and subtract from 50, using Legendre's formula for prime valuations.
Failures may be rare and easy to enumerate — count those instead.
6.NS.B.4Count The ComplementFor prime n = p, v_p(M(p)) = (p+1) − p = 1 < 2 = v_p(p²), so p² ∤ M(p): every prime n fails.
Primes n = p lose: numerator gains only one extra factor of p over the denominator, but n² = p² needs two.
6.NS.B.4Identify SubproblemsThe primes in 1–50 are 2, 3, 5, …, 47 — there are 15 of them, and each one fails.
Primes between 1 and 50 are countable by hand.
4.OA.B.4Make A Systematic ListCheck composites: n = 1 works, but n = 4 fails since v₂(15!) = 11 < 12 = v₂((4!)⁴) — one factor of 2 short.
Even though 4 is composite, the multinomial has just barely 11 factors of 2 in the numerator vs 12 in the denominator.
8.EE.A.1Look For A PatternEvery other composite n works: (n²−1)! carries far more of each prime than (n!)ⁿ·n² needs — e.g. at n = 6 the surplus of 2s is 8 ≥ 2.
For n ≠ 4 composite, the numerator (n²-1)! has so many factors of every prime that divisibility by n² holds comfortably.
8.EE.A.1Solve An Easier Related ProblemFailures total 15 primes + 1 (n = 4) = 16, so successes are 50 − 16 = 34 — answer (D).
Subtract failures from 50.
4.OA.A.3Count The ComplementThis AMC 10 problem only needs Grade 8 exponent tracking (Legendre's formula for prime powers in factorials) plus primality you already know — every prime n in [1, 50] fails (15 of them) and n = 4 also fails (numerator short one factor of 2), so 50 - 16 = 34 values work.