/

AMC12 2019 A

AMC12 2019 A · Q24

AMC12 2019 A · Q24. It mainly tests Primes & prime factorization, Counting divisors.

For how many integers $n$ between 1 and 50, inclusive, is $$ \frac{(n^2 - 1)!}{(n!)^n} $$ an integer? (Recall that $0! = 1$.)
在 1 到 50(包含)之间的整数 $n$ 中,有多少个使得 $$ \frac{(n^2 - 1)!}{(n!)^n} $$ 是整数?(回想 $0! = 1$)。
(A) 31 31
(B) 32 32
(C) 33 33
(D) 34 34
(E) 35 35
Answer
Correct choice: (D)
正确答案:(D)
Solution
Answer (D): Let $A_n=\dfrac{(n^2-1)!}{(n!)^n}.$ AMC 12A Solutions 15 First, note that $A_n$ is an integer when $n=1$. Next, observe that if $n$ is prime, then $A_n$ is not an integer because the numerator has $n-1$ factors of $n$ but the denominator has $n$ such factors. Note also that $A_4$ is not an integer, because the numerator, $15!$, has $7+3+1=11$ factors of $2$, whereas the denominator, $(4!)^4$, has $12$ factors of $2$. Therefore for $n\ge 2$, in order for $A_n$ to be an integer, a necessary condition is that $n$ be composite and greater than $4$. The following argument shows that this condition is also sufficient. First note that $\dfrac{n!}{n^2}=\dfrac{(n-1)!}{n}.$ If $n=ab$, where $a$ and $b$ are distinct positive integers greater than $1$, then $\dfrac{(n-1)!}{n}$ is an integer because both $a$ and $b$ appear as factors in $(n-1)!$. Otherwise $n=p^2$ for some odd prime $p$. In this case $p^2-1\ge 2p$, so $(n-1)!$ has at least two factors of $p$ and again $\dfrac{(n-1)!}{n}$ is an integer. Now the number $\dfrac{(n^2)!}{(n!)^{n+1}}$ is an integer because this expression counts the number of ways to separate $n^2$ objects into $n$ groups of size $n$ without regard to the ordering of the groups (which accounts for the extra factor of $n!$ in the denominator). By combining the previous two paragraphs, it follows that $A_n=\dfrac{(n^2-1)!}{(n!)^n}=\dfrac{(n^2)!}{(n!)^{n+1}}\cdot\dfrac{n!}{n^2}$ is an integer if and only if $n=1$ or $n$ is composite and greater than $4$. Thus the answer is $50$ minus $1$ minus the number of primes less than or equal to $50$, which is $49-15=34$.
答案(D):设 $A_n=\dfrac{(n^2-1)!}{(n!)^n}.$ AMC 12A 题解 15 首先,注意当 $n=1$ 时,$A_n$ 是整数。接着,观察到如果 $n$ 是素数,那么 $A_n$ 不是整数,因为分子中含有 $n-1$ 个因子 $n$,而分母中含有 $n$ 个这样的因子。还要注意 $A_4$ 也不是整数,因为分子 $15!$ 中含有 $7+3+1=11$ 个因子 $2$,而分母 $(4!)^4$ 中含有 $12$ 个因子 $2$。因此当 $n\ge 2$ 时,$A_n$ 为整数的必要条件是 $n$ 为合数且大于 $4$。下面的论证表明该条件也是充分的。 先注意 $\dfrac{n!}{n^2}=\dfrac{(n-1)!}{n}.$ 若 $n=ab$,其中 $a,b$ 为互不相同且都大于 $1$ 的正整数,则 $\dfrac{(n-1)!}{n}$ 为整数,因为 $a$ 和 $b$ 都作为因子出现在 $(n-1)!$ 中。否则 $n=p^2$,其中 $p$ 为某个奇素数。在这种情况下,$p^2-1\ge 2p$,所以 $(n-1)!$ 至少含有两个因子 $p$,因此 $\dfrac{(n-1)!}{n}$ 仍为整数。 现在数 $\dfrac{(n^2)!}{(n!)^{n+1}}$ 是整数,因为该表达式计数:将 $n^2$ 个对象分成 $n$ 组、每组大小为 $n$,且不考虑各组之间的顺序的方法数(这就解释了分母里额外的一个因子 $n!$)。 结合前两段可得 $A_n=\dfrac{(n^2-1)!}{(n!)^n}=\dfrac{(n^2)!}{(n!)^{n+1}}\cdot\dfrac{n!}{n^2}$ 为整数当且仅当 $n=1$,或 $n$ 为大于 $4$ 的合数。因此答案为 $50$ 减去 $1$ 再减去不超过 $50$ 的素数个数,即 $49-15=34$。
Topics
Related Questions
Practice full AMC exams on amcdrill.
Try full-length practice and diagnostics at www.amcdrill.com.