What is the formula for the sequence: #-4, 8, -14, 22, -32,...# ?
1 Answer
Separate out the
Explanation:
I'm sure I have answered this question before, but here's how you solve it:
First note that the signs of the terms alternate between
Let
#color(blue)(4), 8, 14, 22, 32#
Form the sequence of differences of that sequence to get the sequence:
#color(blue)(4), 6, 8, 10#
Form the sequence of differences of that sequence to get the sequence:
#color(blue)(2), 2, 2#
Having reached a constant sequence, the first term of each of these sequences are the coefficients of a formula for
#b_n = color(blue)(4)/(0!) + color(blue)(4)/(1!)(n - 1) + color(blue)(2)/(2!)(n-1)(n-2)#
#=4+4n-4+n^2-3n+2 = n^2+n+2#
Then the original sequence with signs is given by the formula:
#a_n = (-1)^n(n^2+n+2)#