One must show that equality$$\sum_{n=0}^\infty n^2z^n = \frac{z(z+1)}{(1-z)^3} $$ holds for $z\in\mathbb C$ and $|z|<1$.
I tried to expand $f(z):=\frac{z(z+1)}{(1-z)^3}$ into power series where $ z_0=0$ is the center and coefficients given by $a_n=\frac{1}{2\pi i}\int_{|z|<1}\frac{f(z)}{(z-0)^{n+1}}dz$, because f is holomorphic on the open domain $D=${$z:|z|<1$}.
Is there a more easy way to show this equality?