Let a be the first term and d be the common difference.
We know that, sum of first n terms = Sn = [2a + (n − 1)d]
It is given that sum of the first n terms of an A.P. is 4n2 + 2n.
∴ First term = a = S1 = 4(1)2 + 2(1) = 6.
Sum of first two terms = S2 = 4(2)2 + 2(2) = 20.
∴ Second term = S2 − S1 = 20 − 6 = 14.
∴ Common difference = d = Second term − First term
= 14 − 6 = 8
Also, nth term = an = a + (n − 1)d
⇒ an = 6 + (n − 1)(8)
⇒ an = 6 + 8n − 8
⇒ an = 8n − 2
Thus, nth term of this A.P. is 8n − 2.