f(x)=\sum_{k=1}^\infty\left(\frac{x^{2k-1}}{2k-1}+\frac{x^{2k+1}}{2k+1}-\frac{2x^{2k}}{2k}\right)