sum from k=1 to n (k*((k+1)/2))/(k!)