The successive orders of difference are 28,50,78,112,152,....
22,28,34,40,....
6,6,6,....
0,0,...
Hence the nth term =12+28(n−1)+22(n−1)(n−2)2+6(n−1)(n−2)(n−3)3
=n3+5n2+6n.
The sum of n terms may now be found by writing down the value of ∑n3+5∑n2+6∑n. Or we may use the formula of the present article and obtain Sn=12n+28n(n−1)2+22n(n−1)(n−2)3+6n(n−1)(n−2)(n−3)4
=n12(3n2+26n+69n+46),
=112n(n+1)(3n2+23n+46).