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