, is a positive odd integer, and
This construction, along with the proof that it is nowhere differentiable, was first given by Weierstrass in a paper presented to the 'Königliche Akademie der Wissenschaften' on July 18, 1872.
The proof that this function is continuous everywhere is elementary. Since the terms of the infinite series which defines it are bounded by and this has finite sum for