Find a closed formula for $ \sum _{k=0}^n k^2 5^k $

297 Views Asked by At

I need help with the following problem.

$$ \sum _{k=0}^n k^2 5^k $$

1

There are 1 best solutions below

2
On

Key word: "generating function".

Hint: Start with $$f(t)=\sum_{k=0}^n t^k.$$You can give a closed-form expression for $f$ since it's just a geometric series.

So differentiating gives a closed form for $$f'(t)=\sum_{k=0}^n kt^{k-1}.$$Multiply both sides of that by $t$ and you have $\sum_{k=0}^n kt^k$. Now you're exactly halfway there.