AMC 12A 2009 Problem 15

For what value of n is i+2 i^{2}+3 i^{3}+\cdots+n i^{n}=48+49 i ? Note: here i=\sqrt{-1}.

Answer Choices
A. 24
B. 48
C. 49
D. 97
E. 98