AMC 10 · 2019 · #25

Grade 8 arithmetic
factorialprime-numberslegendre-formulacombinatorial-identityprimality-test caseworkcomplementary-countingpattern-recognition ↑ Prerequisites: factorialprime-numberslegendre-formula
📏 Long solution 💡 4 insights

Problem

For how many integers nn between 11 and 5050, inclusive, is (n21)!(n!)n\frac{(n^2-1)!}{(n!)^n} an integer? (Recall that 0!=10! = 1.)

Pick an answer.

(A)
31
(B)
32
(C)
33
(D)
34
(E)
35

AMC 10 2019 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.