$f(x)= \sum_{n=0} ^\infty a^n \cos(b^n \pi x)$
where 0<a<1, and b is a positive odd integer such that $ab > 1 + \frac{3\pi}{2}$.