\[\beta_{n}=\frac{1}{\pi}\int_{0}^{2\pi}f(x)\operatorname{se}_{n}\left(x,q\right%
)\,\mathrm{d}x.\]