Fourier coefficients of cusp forms and automorphic f-functions