Question: Change of variable in a sum

How can I tell to Maple that the sum: Sum(v(n)*S(n),n=1..N) where S(n+1) = S(n) + xi(n+1) can be rewritten as: Sum(x(n)*xi(n),n=1..N) where x(n)=Sum(v(k),k=n..N) ? thanks
Please Wait...