FourierCoefficient
FourierCoefficient[expr,t,n] gives the nth coefficient in the Fourier series expansion of expr.
FourierCoefficient[expr,{t1,t2,…},{n1,n2,…}] gives a multidimensional Fourier coefficient.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.