Series[x*Exp[x], {x, 0, Infinity}]