For the binomial expansion $ (1+x)^n = p_0 + p_1x+p_2x^2+...,$ where $p_i$ refer to the binomial coefficients.
Need to substitute the cube roots of unity (1, w, $w^2$) for the variable x; with w = $\dfrac{-1+i\sqrt{3}}{ 2},$ find the sums:\begin{align} (a) p_0 + p_3 + p_6 + ..., \\ (b) p_1 + p_4 + p_7 + ..., \\ (c) p_2 + p_5 + p_8 + ..., \\ \end{align} I have substituted the values as follows:
$(d)\;2^n = $$p_0+p_1+p_2+ p_3 + p_4 + p_5+...$
$(e)\;(1+w)^n = $$p_0+p_1.w+p_2.w^2+p_3+p_4.w+p_5.w^2+...$
$(f)\;(1+$$w^2$$)^n =(-w)^n = $$p_0+p_1.w^2+p_2.w+p_3+p_4.^2+p_5.w^2+...$
On adding (d), (e), (f); get the non-multiple of 3 terms vanished by the sum property of the cube roots of unity (1+w+$w^2$=0). Rest (non-zero) terms have each $p_i$ terms' coefficient being 3 (1+1+1=3) for all such terms.
(i) $(2^n + (1+w)^n + (-w)^n)/3 = p_0 + p_3 + p_6 + ...$
Geometrically/algebraically plotting the points (1+w), (1+$w^2$); we get: 1+w=$\dfrac{1+i\sqrt{3}}{2},$ 1+$w^2$=-w=$\dfrac{1-i\sqrt{3}}{2}.$
Obtaining the trigonometrical, & then exponential forms for the same, get:
(ii) 1+w=$\dfrac{1+i\sqrt{3}}{2}$= $cis(\dfrac{n\pi}{3})$= $e^\dfrac{in\pi}{3}$
(iii) -w =$\dfrac{1-i\sqrt{3}}{2}$= $cis(\dfrac{-n\pi}{3})$= $e^\dfrac{-in\pi}{3}$
Adding $e^\dfrac{in\pi}{3}$ + $e^\dfrac{-in\pi}{3}$ we get: 2.$\dfrac{e^\dfrac{in\pi}{3} + e^\dfrac{-in\pi}{3}}{2} = 2.\dfrac{cos(n\pi)}{3}$
Hence, get (i) modified as:
(iv) $p_0 + p_3 + p_6 + ... = \dfrac{2^n + 2cos(\dfrac{n\pi}{3})}{3}$
This solves only the part (a) of the question.
For the parts (b) & (c), there is no such closed form expression possible for me.
and for part (c) as: $\dfrac{2^n - 2\cos((n-1)\dfrac{\pi}{3})}{3}$.
– jiten Sep 20 '17 at 12:36