The perturbation method is useful for evaluating sums like $\sum_{k=0}^{n}{a_k}$, but every example I've found is a case where $a_k$ is a sequence dependent only upon the index variable $k$.
It is explained that we set $S_n=\sum_{k=0}^{n}{a_k}$ and then solve the equation $S_n+a_{n+1}=a_0+\sum_{k=1}^{n+1}{a_k}$ for $S_n$. But I never stumbled upon a sum that would be of the form, e.g. $\sum_{k=0}^{n}{kn}$ solved using this particular method, and when I tried doing it myself I got confused with how should I treat a boundary inside a sum when I can't just factor it out.
I set $S_n=\sum_{k=0}^{n}{kn}$, but as to other terms, I don't know what to do. Is $a_{n+1}=n(n+1)$ or $(n+1)^2$? Is the right side $\sum_{k=0}^{n+1}{kn}$ or $\sum_{k=0}^{n+1}{k(n+1)}$? Why? (also let's assume we can't factor out the $n$, as if we had summing over $f(kn)$)