If the sum of the coefficients of all even powers of x in the product (1+x+x2+⋯+x2n)(1−x+x2−x3+⋯+x2n) is 61, then n is equal to \_\_\_\_\_\_\_\_\_.
Answer: 30
Solutions · 1
Official solution
Let f(x)=(1+x+⋯+x2n)(1−x+x2−⋯+x2n)=a0+a1x+⋯
At x=1: f(1)=(2n+1)×1=2n+1=a0+a1+⋯ ...(i)
At x=−1: f(−1)=1×(2n+1)=2n+1=a0−a1+a2−⋯ ...(ii)
Adding: 4n+2=2(a0+a2+⋯)=2×61=122⇒2n+1=61⇒n=30