第 850 题:(2019 AMC 10a, 9)
What is the greatest three-digit positive integer $n$ for which the sum of the first $n$ positive integers is $\underline{\text{not}}$ a divisor of the product of the first $n$ positive integers?
$\textbf{(A)}\ 995 \qquad\textbf{(B)}\ 996 \qquad\textbf{(C)}\ 997 \qquad\textbf{(D)}\ 998 \qquad\textbf{(E)}\ 999$
- $\frac{n(n+1)}2\nmid n!$ exactly when $n+1$ is an odd prime.
- The largest three-digit $n$ with $n+1$ prime: $997$ is prime, so $n=996$.
- The answer is (B).
What is the greatest two-digit positive integer $n$ for which $1+2+\cdots+n$ is not a divisor of $n!$?