Problem 954: (2014 AMC 12b, 23)
The number 2017 is prime. Let $S = \sum \limits_{k=0}^{62} \dbinom{2014}{k}$. What is the remainder when $S$ is divided by 2017?
$\textbf{(A)}\ 32\qquad \textbf{(B)}\ 684\qquad \textbf{(C)}\ 1024\qquad \textbf{(D)}\ 1576\qquad \textbf{(E)}\ 2016$
- Mod $2017$, $2014\equiv-3$, so for $k<2017$: $\binom{2014}k=\prod_{i=1}^k\frac{2015-i}i\equiv\prod_{i=1}^k\frac{-(i+2)}i=(-1)^k\frac{(k+1)(k+2)}2$.
- Pair $k=2j$ and $2j+1$: $\frac{(2j+1)(2j+2)}2-\frac{(2j+2)(2j+3)}2=-(2j+2)$. For $k=0,\dots,61$ this gives $-2(1+2+\cdots+31)=-992$, and $k=62$ adds $\frac{63\cdot64}2=2016$.
- $S\equiv2016-992=1024$. The answer is (C).
The number $101$ is prime. What is the remainder when $\sum_{k=0}^{20}\binom{98}k$ is divided by $101$?