Check the forward differences of the sequence.
If
, then let
be the sequence of first-order differences of
. That is, for n ≥ 1,
![b_n = a_(n+1) - a_n](https://img.qammunity.org/2023/formulas/mathematics/high-school/tv7d3cyj3klbbutfo2ml72ukeiwmhrd698.png)
so that
.
Let
be the sequence of differences of
,
![c_n = b_(n+1) - b_n](https://img.qammunity.org/2023/formulas/mathematics/high-school/wp4smmvzfn0f3twqv2jg5zsy3675owq5gi.png)
and we see that this is a constant sequence,
. In other words,
is an arithmetic sequence with common difference between terms of 2. That is,
![2 = b_(n+1) - b_n \implies b_(n+1) = b_n + 2](https://img.qammunity.org/2023/formulas/mathematics/high-school/onlbdzcxqs80xd6p4e0ibykn0lgkzkclcf.png)
and we can solve for
in terms of
:
![b_(n+1) = b_n + 2](https://img.qammunity.org/2023/formulas/mathematics/high-school/31c6vgsxjw4stmig4liy6yj4jlxxqub2yi.png)
![b_(n+1) = (b_(n-1)+2) + 2 = b_(n-1) + 2*2](https://img.qammunity.org/2023/formulas/mathematics/high-school/5ftzg2qnjhf8v8vhqfzwpmgk8wgw67o1vs.png)
![b_(n+1) = (b_(n-2)+2) + 2*2 = b_(n-2) + 3*2](https://img.qammunity.org/2023/formulas/mathematics/high-school/f5wgxh1ixhmiful68n5xzfzk27dv6jjybc.png)
and so on down to
![b_(n+1) = b_1 + 2n \implies b_(n+1) = 2n + 4 \implies b_n = 2(n-1)+4 = 2(n + 1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/93qy01uea5ioygji2iaeeix7b5fi7hx9be.png)
We solve for
in the same way.
![2(n+1) = a_(n+1) - a_n \implies a_(n+1) = a_n + 2(n + 1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/b9m10fij4awbnxwdjiwfoksjcf82gk2cwj.png)
Then
![a_(n+1) = (a_(n-1) + 2n) + 2(n+1) \\ ~~~~~~~= a_(n-1) + 2 ((n+1) + n)](https://img.qammunity.org/2023/formulas/mathematics/high-school/4rjq0i9dmha9gbxwhvsv0enpwvnybzsgd8.png)
![a_(n+1) = (a_(n-2) + 2(n-1)) + 2((n+1)+n) \\ ~~~~~~~ = a_(n-2) + 2 ((n+1) + n + (n-1))](https://img.qammunity.org/2023/formulas/mathematics/high-school/nl8sl0v0cuaeg9bey1ccl2c4v25hzghi6u.png)
![a_(n+1) = (a_(n-3) + 2(n-2)) + 2((n+1)+n+(n-1)) \\ ~~~~~~~= a_(n-3) + 2 ((n+1) + n + (n-1) + (n-2))](https://img.qammunity.org/2023/formulas/mathematics/high-school/faq6lkhqhcldhok5gryr62gxjty0zfoc7c.png)
and so on down to
![a_(n+1) = a_1 + 2 \displaystyle \sum_(k=2)^(n+1) k = 2 + 2 * \frac{n(n+3)}2](https://img.qammunity.org/2023/formulas/mathematics/high-school/61ij7horade3502fhzq6f59qnumb5yooel.png)
![\implies a_(n+1) = n^2 + 3n + 2 \implies \boxed{a_n = n^2 + n}](https://img.qammunity.org/2023/formulas/mathematics/high-school/7fk746zmqkfnoiwkaykqhyfhlbmmaftd3m.png)