\[w_{k}=\frac{g_{k}}{n}\left(1-\sum_{j=1}^{\left\lfloor n/2\right\rfloor}\frac{b%
_{j}}{4j^{2}-1}\cos\left(2jk\pi/n\right)\right),\]