How to Find what nth-term a Number is in a Sequence

by YASuperhero
Tags: nthterm, number, sequence
 P: 2 1. The problem statement, all variables and given/known data 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. 2. Relevant equations If I use the equation (xn+xn^2)/2 (x = 3 & n = 8) I'll get 108. What I need is to use the 108 and 3 and get 8. What's the equation? Thanks! 3. The attempt at a solution I dont know :(
 P: 294 Give the nth term of the sequence a variable (anything works, you just can't reuse x or n). Then you get a = $\frac{xn+xn^{2}}{2}$, and you are looking for a function of a and x for n. Does this help at all?
P: 2
 Quote by Villyer Give the nth term of the sequence a variable (anything works, you just can't reuse x or n). Then you get a = $\frac{xn+xn^{2}}{2}$, and you are looking for a function of a and x for n. Does this help at all?
I don't understand. That is the equation I have and that will give me a. But I have a and x. What I need to find out is n.

What am I missing?

Math
Emeritus
Thanks
PF Gold
P: 38,894

How to Find what nth-term a Number is in a Sequence

 Quote by YASuperhero 1. The problem statement, all variables and given/known data 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. 2. Relevant 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 guarentee 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! 3. The attempt at a solution I dont 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.
 P: 546 Subtract the difference between all of the numbers notice that there is another pattern: 6,9,12,15,18, etc.... Taking the difference again you notice that they are all 3 apart. I can tell you that based on this information the equation which describes these numbers is quadratic. You can derive the coefficients using this information, good luck!
 P: 294 Hallsofivy, his equation is based on two variables, x and n. His choosen x is 3. That's why $\frac{3}{2}n(n+1)$ is a representation of his sequence. The way I see it is that a(x,n) is the nth term of of the sequence $\frac{x}{2}n(n+1)$, and he is looking for a function n=(a,x).
 P: 415 No doubt that this equation is a quadratic, as explained by Aero51. Now we can take a general form of equation as $ax^2+bx+c$ Now for x = 1, a(1) + b(1) + c = 3 => a + b + c = 3 For x = 2, a(4) + b(2) + c = 9 => 4a + 2b + c = 9 For x = 3, a(9) + b(3) + c = 18 => 9a + 3b + c = 18 Now solve these 3 equations to get a, b, c and your equation

 Related Discussions Linear & Abstract Algebra 7 Precalculus Mathematics Homework 11 Set Theory, Logic, Probability, Statistics 6 Calculus & Beyond Homework 2 General Math 9