I'm attempting to find the limit of $$ \sum^\infty_{k=0} k^2 q^k$$ using the result of the cauchy product $$ \sum^\infty_{k=0} k q^k * \sum^\infty_{k=0} q^k$$ and I have calculated the cauchy product to be $$ \sum^\infty_{n=0} \sum^n_{k=0} kq^n$$ and then I've arranged that in the form $$\sum^\infty_{n=0} \sum^n_{k=0} kq^n = \sum^\infty_{n=0}\left(q^n \sum^n_{k=0}k \right) = \sum^\infty_{n=0}\left(q^n \frac{n(n+1)}{2} \right)$$ however I'm not sure if
- This is actually correct and
- This actually helps with figuring out the the original problem.
An interesting ALTERNATIVE SOLUTION (if you can take term-by-term differentiation of absolutely convergent series for granted, or are happy to take it as a given just for the sake of the result): $$\frac{ds_d}{dq}=\sum_{k=1}^{\infty} k^{d+1}q^{k-1}=\frac{1}{q}s_{d+1}$$ by taking the derivative inside the sum and differentiating term by term (allowed in the interior of the region of convergence because the series converges absolutely). So if you know $s_d$, you can differentiate it directly and express $s_{d+1}$ in terms of it.