I have been fighting with this but I'm really not getting anywhere. $$\sum_{0\leq2k\leq n}\binom{n}{2k}2^k\equiv0\pmod 3$$ $$iff$$ $$n\equiv2\pmod 4$$ Hint: Consider $$\frac{1}{2}((1+\sqrt{2})^n+(1-\sqrt{2})^n)$$ Help would be appreciated. Thanks!
2026-04-04 05:58:19.1775282299
Problem involving summation and binomial coefficient
149 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
If you expand the last expression with the binomial theorem you will see that it matches with the first one. The next step is to prove that the sequence defined by $$ a_n = \frac{1}{2}\left((1+\sqrt{2})^n+(1-\sqrt{2})^n\right)$$ satisfies the recurrence relation:
$$ a_{n+2} = 2 a_{n+1} + a_{n},\quad a_0 = 1,a_1=1 $$ hence the sequence $\!\!\pmod{3}$ is $\overline{1,1,0,1,2,2,0,2}$ and the zeroes occur iff $n\equiv 2\pmod{4}$.