Visualizing Fundamental Frequencies

Visualizing the sum of a fundamental frequencies. [math]f(x) = \sum_{k=1}^a \sin(kx) = \sin(x) + \sin(2x) +\sin(3x)+\ldots +\sin(ax)[/math] Drag the slider for a.

Where are the nodes?