#(n 1) + (n 5) + (n 9) + (n 13) + ... sum of binomial coefficients
12 messages · Page 1 of 1 (latest)
What are you asking?
You may expand (1+i)^n-(1-i)^n+((1+1)^n-(1-1)^n)*i and divide by 4i.
When simplified you get an answer like 2^(n-2)+2^(n/2-1) * sin(pi * n/4).
You can remove sin If you take cases of n mod 4.
what does it mean (1-1)^n??
(1-1)
expand it as binomial. though it equals 0 of course
I get ([2*(n 1)i - 2(n 3)i + 2(n 5)i - 2(n 7)*i +...] + (2^n)*i) /4i
just write binomial expansions in 4 lines:
(1+i)^n
-(1-i)^n
i*(1+1)^n
-i*(1-1)^n
and then add them together.
(n 3) + (n 6) + ... it seems to be in the way
nope