2019 AMC 10A Problem 25

Below is the professionally curated solution for Problem 25 of the 2019 AMC 10A, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2019 AMC 10A solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:factorialdivisibilityprime

Difficulty rating: 2150

25.

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

3131

3232

3333

3434

3535

Solution:

One fact that greatly helps with this problem is realizing that (n2)!(n!)n+1 \dfrac{(n^2)!}{(n!)^{n + 1}} is always an integer.

This is because it is the number of ways to split up n2n^2 objects into nn unordered groups of size n.n.

Now, we get that (n21)!(n!)n=(n2)!(n!)n+1n!n2. \dfrac{(n^2 - 1)!}{(n!)^n} = \dfrac{(n^2)!}{(n!)^{n + 1}} \cdot \dfrac{n!}{n^2}.

Therefore, we need to find when n2÷n!,n^2 \div n!, or when n÷(n1)!.n \div (n - 1)!.

This condition is false if n=4,n = 4, or if nn is prime. n=4n = 4 is too large for it to divide 3!.3!.

nn cannot be prime because (n1)!(n - 1)! does not contain any numbers where nn could be a factor.

If nn is not 44 and not prime, this works since nn can be decomposed into 22 numbers both less than nn that are found in (n1)!.(n - 1)!.

There are 1515 primes less than 50,50, and adding on 4,4, we get that there are 1616 values for nn that do not work.

Therefore, the desired answer is 5016=34.50 - 16 = 34.

Thus, D is the correct answer.

Problem 25 in Other Years