Problem 671: (1983 AIME, 6)
Let $a_n=6^{n}+8^{n}$. Determine the remainder on dividing $a_{83}$ by $49$.
- $a_{83}=(7-1)^{83}+(7+1)^{83}$. In the binomial expansions, terms with $7^2$ or more are divisible by $49$.
- The remaining terms: $(-1+83\cdot7)+(1+83\cdot7)=2\cdot83\cdot7=1162$.
- $1162=23\cdot49+35$. The answer is $\boxed{035}$.
Let $a_n=10^{n}+12^{n}$. Determine the remainder on dividing $a_{95}$ by $121$.