SphericalHarmonicY

SphericalHarmonicY[lmthetaphi]
returns the spherical harmonic functin Y_l^m(theta, phi).