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

  • Thread starter Thread starter YASuperhero
  • Start date Start date
  • Tags Tags
    Sequence
AI Thread Summary
To determine the nth term of a sequence, the equation x_n = (3/2)n(n+1) is derived from observing the pattern of differences in the sequence. The sequence provided starts with 3 and follows a quadratic pattern, where the second differences are constant. To find the position of a specific number, such as 108, one must solve the equation (3/2)n(n+1) = 108 for n. This leads to a quadratic equation, which can be solved using factoring or the quadratic formula. Understanding the relationship between the terms and their differences is crucial for deriving the correct equation.
YASuperhero
Messages
2
Reaction score
0

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)

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 :(
 
Physics news on Phys.org
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?
 
Villyer said:
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?
 
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.
 
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!
 
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).
 
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 :wink:
 
Back
Top