Fourier Coefficient Formula for Integer Representation Counts