Suppose we have some formula $f(x)$ and we are able to work out the sum of first $F(n)=\sum_{i=0}^nf(i)$ with some nice formula $F(n)$; Now suppose we want to work out tha following sum $G(n)=\sum_{i=0}^ni*f(i)$ Is there any way to work out / derive the $G(n)$ as some nice formula? Maybe the $G(n)$ would be based on formula $F(n)$?
Thank you