Hi Old Timer
Sum of n terms for -3n^2+2n+5
n∑m=1(−3m2+2m+5)=n∑m=1−3m2+n∑m=12m+5n=n∑m=1−3m2+n∑m=12m+5nn∑m=12m=n2(a+L)=n2(2+2n)=n(1+n)=n2+n=−3[n∑m=1m2]+n2+n+5n** the next line was taken from a khan academy video which I will reference at the end.=−3[n33+n22+n6]+n2+n+5n=[−n3−3n22−n2]+n2+n+5n=−2n32−3n22−n2+2n2+2n+10n2 =−2n3−n2+11n2
Khan Academy videos:
https://www.khanacademy.org/math/calculus-home/series-calc/series-basics-challenge/v/sum-n-squares-2
You will need to check the algebra, I could easily have made a careless mistake :)