How do I find the rule for this number sequence? 7,21,42,126,252,756
![]() |
How do I find the rule for this number sequence? 7,21,42,126,252,756
How do I find the rule for number sequence: 7,21,42,126,252,756
The numbers are multiplied by 3, then by 2, by 3, then by 2, and so on. The next number would be 1512, then 4536, etc.
galactus, how do you find the sequence?
Trial and error? Look and see what works?
Yep, just seeing '7', '21', and '42', we know they are multiples of 7. So, there could be some multiplication in there.
How about a sequence like:
1, 4, 9, 17, 34, 76, 99?
The above sequence are random numbers, Basically, I'm asking, is their a Formula, or programs that can determine, or do you just see what works?
Ok, I have two options, either that is not a sequence, or the formula is very complex.
If plotted, there are no real pattern. The 'increase' decreases after 76, which is quite a rare sight to see.
EDIT: Oops, seems that you posted before I did. I checked here, then had to give food to my dog and came back to answer.
There is no said formula that determines the pattern of all sequences in general.
You just see the pattern for each sequence.
Some are easier than others.
Did you just make that one up? It is not a sequence with any definitive pattern that I can see. That does not mean there is not one though. I am not that arrogant:):)
One thing that can often be done is what is called 'finite differences'.
Using this method one can find a quadratic, cubic, etc that will give the nth term of the sequence, assuming there is one.
Let's say we have:
Subtract between the numbers and we see a pattern:
Keep going:
See? We ended up with a bunch of 1's.
Since we have 3 rows before we got to the 1's, the polynomial that represents it will be a cubic.
I am not going to show all the work, but suffice to say it is:
Now, we can plug in any number for x and find the number in the sequence.
Say we want the 10th number in the sequence.
I used a simple example. We can see these are the triangular numbers and find the next one without a polynomial, but if we wanted a number further up the ladder it is handy.
Another sequence is called a 'recursion relation'.
Say we had
We can do subs and find them by performing each iteration. But, there is a way to solve it in general. Then, we just plug in to find whichever number we need in the sequence.
We can change it to a quadratic:
This factors:
The roots are r=2 and 5
So, we write
Use the initial conditions to find b and c:
We solve the little system:
There is the formula. If we want the 10th number for instance, we plug in n=10
Just a small sequence tutorial if you like.
Strat, see if you can pick up this sequence
2, 4, 12, 24, 72, 144
432
I see it is Times 2, times 3, times 2, times 3...
I think galactus answered my question, Thanks All.
So, you see the pattern then?
The OP was a sequence much the same. We were just able to see the pattern.
It wasn't I didn't see the solution, I was curious if their was some other way(math wise)
All times are GMT -7. The time now is 06:13 PM. |