The germ of the idea of Fourier Series is to be found, with hindsight, in the works of Leonard Euler. Euler was interested in interpolation. In a problem with origins in planetary perturbations, he approached and solved problems of the form
f(x) = f(x-1) + F(x)