第 1049 题:(2020 AMC 10a, 17)
Define \[P(x) =(x-1^2)(x-2^2)\cdots(x-100^2).\] How many integers $n$ are there such that $P(n)\leq 0$?
$\textbf{(A)}\ 4900$ $\textbf{(B)}\ 4950$ $\textbf{(C)}\ 5000$ $\textbf{(D)}\ 5050$ $\textbf{(E)}\ 5100$
- $P$ has $100$ simple roots $1^2,2^2,\dots,100^2$ and is positive for $x>100^2$. Moving left, the sign changes at each root.
- So $P\le0$ exactly on $[1^2,2^2]\cup[3^2,4^2]\cup\cdots\cup[99^2,100^2]$ (and $P>0$ for $x<1$).
- $[(2k-1)^2,(2k)^2]$ contains $(2k)^2-(2k-1)^2+1=4k$ integers, so the count is $4(1+2+\cdots+50)=4\cdot1275=5100$. The answer is (E).
Define $Q(x)=(x-1^3)(x-2^3)(x-3^3)\cdots(x-10^3)$. How many integers $n$ are there such that $Q(n)\le0$?