SOLUTION: Hi, I have to find the general formula for the sequence 2 3 5 8 14 19 and so on, i.e. first 3-2=1, then 5-3=2, 8-5=3, etc, so the difference is simply 1,2,3,4,etc. That means the n

Algebra.Com
Question 825537: Hi, I have to find the general formula for the sequence 2 3 5 8 14 19 and so on, i.e. first 3-2=1, then 5-3=2, 8-5=3, etc, so the difference is simply 1,2,3,4,etc. That means the next number after 19 would be [(19-14)+1]+19 = 25, but the general formula a_n = ???
I guess its fairly easy but I can't see it, and google doesn't help either!
Thanks in advanced!

Found 2 solutions by Edwin McCravy, AnlytcPhil:
Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!

You didn't notice when you wrote
3-2=1, then 5-3=2, 8-5=3, etc,
That the pattern does not work for the next two terms:
3-2=1, then 5-3=2, 8-5=3, 14-8=6, 19-14=5.
Edwin

Answer by AnlytcPhil(1806)   (Show Source): You can put this solution on YOUR website!
In a message dated 1/2/2014 10:50:51 A.M. Eastern Standard Time, devnull@algebra.com writes:
====================================================== TEXT FOLLOWS
Oh sorry, I messed up the calculations, of course it should be:
2 3 5 8 12 17 23 30 38 47 etc
so +1,+2,+3,+4,+5,+6,+7,+8,+9,etc
====================================================== END TEXT
Hi,
 
The general term is
 

 
Here's what you do.  You list
the numbers in a column like this:
 
 2
 3
 5
12
17
23
30
38
47
 
Then you make a column out beside that one, putting beside each number the
difference between it and the number just below it, like this:
 
 2  1
 3  2
 5  3
 8  4
12  5
17  6
23  7
30  8
38  9
47
 
Then out beside that, you make a column of differences of differences:
 
 2  1  1
 3  2  1
 5  3  1
 8  4  1
12  5  1
17  6  1
23  7  1
30  8  1
38  9
47
 
So it only takes 2 columns to get the differences to all be the same. So that
means you have to assume a 2nd degree polynomial general term of the form:
  
y = ax²+bx+c
 
The unknowns will be a,b, and c. So you'll need to substitute three points
(x,y) = (n,an), for n=1,2,3

 
(1,2), (2,3), (3,5)
 
2 = a(1)²+b(1)+c
3 = a(2)²+b(2)+c
5 = a(3)²+b(3)+c
 
That becomes:
 
 a +  b + c = 2
4a + 2b + c = 3
9a + 3b + c = 5
 
Subtract the 1st eq. from the 2nd
to eliminate c
 
3a + b = 1
 
Subtract the 2nd eq. from the 3rd
to eliminate c.
 
5a + b = 2
 
Then subtract those equations to
eliminate b
 
2a = 1
 a = 1/2
 
Then substitute in 3a + b = 1
 
3(1/2) + b = 1
   3/2 + b = 1
         b = -1/2
 
Then substitute in
 
 a +  b + c = 2
(1/2) + (-1/2) + c = 2
          c = 2
 
So y = ax²+bx+c becomes
 
y = (1/2)x² - (1/2)x + 2
 
and you can write that as
 
y = (x²-x+4)/2
 
and change the x to n and the y to an
 
an = (n²-n+4)/2
 
You can do that with ANY sequence of numbers, but very often it takes more than
just 2 columns to get them all the same.  For instance there is a 5th degree
equation that would give you the general term for the sequence you made a
mistake on.
 
 2  1  1  0  2  -8 
 3  2  1  2 -6
 5  3  3 -4
 8  6 -1
14  5
19 
 
That takes 5 columns to get to a column
that has "all the same" number. Yes that last column only has 1 number in it,
-8, but "all 'ONE' of it is 'the same'". Hahaha :)
 
So there is a 5th degree polynomial
 
y=ax^5+bx^4+cx³+dx²+ex+f
 
There are 6 unknowns, so you'd have to substitute the six points
 
(1,2), (2,3), (3,5), (4,8), (5,14), (6,19) 
 
in that and you'd have 6 equations in 6 unknowns.  Then you can eliminate f by
subtracting, and get 5 equations in 5 unknowns and then get 4 equations in 4
unknowns, then 3 in 3, and 2 in 2 and finally 1 equation in 1 unknown.  Then
substitute back and you will get a very complicated 5th degree general term for
the sequence you posted.
 
That will always work with any sequence.  But the general term will be
complicated if there is no easy pattern.
 
Happy new year,
Edwin


RELATED QUESTIONS

I asked this question before, but I did not get all the parts to the uestion posted for... (answered by longjonsilver)
1. Use the arithmetic sequence of numbers 1,3,5,7,9,....to find the following: a.... (answered by jim_thompson5910)
The problem is to find the general equation for the sequence,... (answered by venugopalramana)
I've got this problem (see below). I've worked through problems 1b - 1d, but I am stuck... (answered by stanbon)
Please help me solve the following problems. I've tried to solve the problem but I don't (answered by venugopalramana)
Can someone assist me with the following problem please? Use the arithmetic sequence of... (answered by jim_thompson5910)
I am unsure on how to do this problem. Use the arithmetic sequence of numbers 1, 3, 5,... (answered by stanbon)
We are having a lecture this afternoon and I would like to be able to apply the lecture... (answered by stanbon,jim_thompson5910)
Assuming the general expression for multiples to be 3N, 3(n+1), 3(n+2) etc. Find 4... (answered by robertb)