Exercise 946
Solution
- $2021^{2021}\equiv21^{2021}=(1+20)^{2021}\pmod{1000}$.
- $1+2021\cdot20+\binom{2021}2\cdot400+\binom{2021}3\cdot8000$: $40420\equiv420$; $\binom{2021}2=2021\cdot1010=2041210$, and $2041210\cdot400\equiv0\pmod{1000}$; the last term is $\equiv0$.
- So $\equiv421$, and the hundreds digit is $\boxed{4}$.