Question: Extract an expression from a sum

Let's say I have a summation:

sum(a[n]*x^(n-2)*(n-1)*n, n = 0 .. infinity)

Is there a way to extract the expression being summed?

a[n]*x^(n-2)*(n-1)*n

I've experimented with patmatch, but haven't been able to make it work.

Please Wait...