The general term formula of sequence is 2n ^ 2-2n + 1, and the sum of the first n terms can be obtained

The general term formula of sequence is 2n ^ 2-2n + 1, and the sum of the first n terms can be obtained

2n^2-2n+1
It can be seen as two sequences, 2n ^ 2, - 2n. The first one is equal ratio and the second one is equal difference. Use the formula to find the sum of the two, and then add them together. As for the final coefficient 1, that is n, and then add n