1,8,21,40,65,...This infinite sequence is a quadratic sequence. The nth term rule for the sequence is an=n(3n−2), where n>0. The recursive formula is an=an−1+6n−5, where n>1 and a1=1.
1+78+6+1321+6+1940+6+2565
Explicit Formula
Since there are 2 rows of differences, the formula for the sequence can be written as a polynomial with degree 2, where n is the term number and (x0,x1,x2) are the coefficients: an=n2x2+nx1+x0
Using the first 3 terms in the sequence, create and solve the system of equations for (x0,x1,x2): 1821=12x2+1x1+x0=22x2+2x1+x0=32x2+3x1+x0⇒x0+x1+x2=1x0+2x1+4x2=8x0+3x1+9x2=21 ⇒(x0,x1,x2)=(0, −2, 3)
The nth term rule is:an=n2x2+nx1+x0=n2(3)+n(−2)+(0)=n(3n−2)
Recursive Formula
Since there are 2 rows of differences, the formula for the sequence can be written as the sum of an−1 and polynomial with degree 1, where n is the term number and (x0,x1) are the coefficients: an=an−1+nx1+x0
Using the first 3 terms in the sequence, create and solve the system of equations for (x0,x1): 821=1+2x1+x0=8+3x1+x0⇒x0+2x1=7x0+3x1=13 ⇒(x0,x1)=(−5, 6)
The nth term rule is:an=an−1+nx1+x0=an−1+n(6)+(−5)=an−1+6n−5