YASuperhero said:
Homework Statement
I'm trying to find out the equation for how to find out where a number falls in a sequence.
An example sequence would be 3, 9, 18, 30, 45, 63, 84, 108, 135, 165...
108 is the 8th number in that sequence.Homework Equations
If I use the equation (xn+xn^2)/2
(x = 3 & n = 8)
That's NOT an equation. I think you mean x_{n+1}= (x_n+ x_n^2)/2.
I don't know what you mean by "x= 3 & n= 8". There is NO "x" in the formula. If you start counting with 1 (that is, x_1= 3 then x_8= 108 alright but I don't know where the "x= 3" comes into it.
In any case, while (x_1+ x_1^2)/2= (3+ 9)/2= 6 so "x_{n+1}= (x_n+ x_n^2)/2 has nothing to do with this sequence.
Using a "difference" method, I see that the "first differences" (x_{n+1}- x_n) are 9- 3= 6, 18- 9= 9, 30- 18= 12, 45- 30= 15, etc. and the "second differences" are 9- 6= 3, 12- 9= 3, 15- 12= 3, etc. As far as we can see (of course, just seeing some numbers in a sequence doesn't guarantee the sequence will continue in the same way) the "second difference" will always be 3 and by "Newton's difference method" the sequence is produced by the equation x_n= (3/2)n(n+1). It's easy to check that this is correct:
(3/2)(1)(1+ 1)= 3, (3/2)(2)(2+ 1) = 9, (3/2)(3)(3+1)= 18, (3/2)(4)(4+1)= 30, and so on.
I'll get 108.
What I need is to use the 108 and 3 and get 8.
What's the equation?
Thanks!
The Attempt at a Solution
I don't know :(
You
can't just "use the 108 and 3" to get 8 because the sequence depends on more than that. Once you know that x_n= (3/2)n(n+1) you just need to solve (3/2)n(n+1)= 108 for n. From that, n(n+1)= 108(2/3)= 2(36)= 72. You could solve the quadratic equation n^2+ n- 72= 0 by factoring or using the quadratice equation. But knowing that n must be an integer, it is easier to note that n and n+2 are not far so seeing that the square root of 72 is between 8 and 9 we would "guess" than n= 8 and n+1= 9.