
\[w_{n+1}-2nw_{n}+w_{n-1}=-(2/\pi)(1-(-1)^{n}),\]