2(1+x3)100=[a0+a1x+a2x2+⋯+a100x100] −[cosπ2x+cos(π2x+π2)+⋯+cos(π2x+100π2)] ⋯(1)
Replacing x by −x, we get
2(1−x3)100=[a0−a1x+a2x2−⋯+a100x100] −[cos(−π2x)+cos(−π2x+π2)+⋯+cos(−π2x+100π2)] ⋯(2)
Adding (1) and (2), we get
2(1+x3)100+2(1−x3)100=2(a0+a2x2+⋯+a100x100)
Putting x=1, we get
a0+a2+a4+⋯+a100=2100
∴k=100