If the sum of the preceding terms of sequence an is Sn = 4N ^ 2-N + 2, then the general term formula is

If the sum of the preceding terms of sequence an is Sn = 4N ^ 2-N + 2, then the general term formula is

an=Sn-S(n-1)
=4n"-n+2 - [4(n-1)" -(n-1) +2]
=4n"-n+2 - [4n" -8n+4 -n+1 +2]
=8n -5
First item A1 = S1 = 5
therefore
an = 5 (n=1)
an = 8n-5 (n≥2)