第 808 题:(2019 AMC 10a, 5; 2019 AMC 12a, 4)
What is the greatest number of consecutive integers whose sum is $45?
$ $\textbf{(A)}\ 9 \qquad\textbf{(B)}\ 25 \qquad\textbf{(C)}\ 45 \qquad\textbf{(D)}\ 90 \qquad\textbf{(E)}\ 120$
- $k$ consecutive integers starting at $a$ sum to $\frac{k(2a+k-1)}2=45$, so $k\mid90$.
- $k=90$ works with $a=-44$: $-44+\cdots+45=45$. So the answer is $90$.
- The answer is (D).
What is the greatest number of consecutive integers whose sum is $100$?