I do have somewhat of a reasoning for this.
$$S = 1 + x + x^{2} + x^{3} +.. + x^{n} $$
Denoting the derivative of $S$ as $T$
$$T = 1 + 2x + 3x^{2} + 4x^{3} +... + nx^{n-1}$$
$$xT = x + 2x^{2} + 3x^{3} +... + nx^{n}$$
Writing the derivative of this series as $V$
$$V = 1 + 2^{2}x + 3^{2}x^{2} +... + n^{2}x^{n-1}$$
$$xV = x + 2^{2}x^{2} + 3^{2}x^{2} +... + n^{2}x^{n}$$
Which is ${\sum{n^{2}x^{n}}}$
However, I am unable to start from $\sum{n^{2}}$and finish where I started. Can someone give me systematic steps on how to manipulate ${\sum{n^{2}x^{n}}}$into a generating function?
The answers are a little different from what I expected.
Let me explain with $\sum nx^{n}$. This function is not the series of any known function but with one slight manipulation, we can change it.
$$\sum x\frac {d x^{n}}{dx}$$ $$=x \frac{d}{dx} {\sum x^{n}} = x\frac {d}{dx} \frac{1}{1-x}$$ $$=\frac {x}{ (1-x)^2 }$$
I wanted a similar trick for evaluating $\sum n^{2}x^{n}$ $$=\sum nx \frac{d}{dx} x^{n}$$ And, then what ? How can I finish this ? I know how to start at $S$ and finish here, but I'm having trouble doing the algebra of starting with this sum and finishing where I started.
Following the comment from Did, we go $$\sum_nn^2x^n=\sum_nx{d\over dx}x{d\over dx}x^n=x{d\over dx}x{d\over dx}\sum_nx^n$$ and you know what to do from there.