Solution (source code)

= Solution

Use the double-angle identity $2\sin x\cos x=\sin2x$. The <Fourier series> is already a finite trigonometric sum:
$$
\boxed{f(x)=\sin x+\sin2x+\sin3x}.
$$
In the usual <Fourier sine series> convention, $b_1=b_2=b_3=1$, all other $b_n$ vanish, and all <cosine> coefficients and the constant coefficient vanish.