The sequence of first consecutive differences is 3,7,19,55,.....
The sequence of the second consecutive difference is 4,12,36,.... .
Clearly, it is a GP with common ratio 3.
Then, nth term of the given series be
Tn=a(3)n−1+bn2+cn+d...............(i)
Putting values of n=1,2,3,4 we get
2=a+b+c+d.........(ii)
5=3a+4b+2c+d........(iii)
12=9a+9b+3c+d........(iv)
31=27a+16b+4c+d.......(v)
After solving these equations, we get
a=1,b=0,c=1,d=0
a=1,b=0,c=1,d=0Putting the values of a,b,c,d in Eq. (i), we get
Tn=3n−1+n