Those inputs I don't think are valid, cause you are right as they stand they'd keep adding.
Generally with Fourier series as the frequency of the component goes up the scalar goes down.
Take a look at http://en.wikipedia.org/wiki/Fourier_series
example 1 is actually the sawtooth waveform. You'll notice that is not 5 as you have in your example but rather [tex]2*(-1)^{n+1}\over(\pi*n)[/tex]