Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Mathematics (https://www.askmehelpdesk.com/forumdisplay.php?f=199)
-   -   What is the number sequence for 7,21,42,126,252,756? (https://www.askmehelpdesk.com/showthread.php?t=430756)

  • Jan 2, 2010, 08:17 PM
    msdavis26
    What is the number sequence for 7,21,42,126,252,756?
    How do I find the rule for this number sequence? 7,21,42,126,252,756
  • Jan 2, 2010, 08:19 PM
    msdavis26

    How do I find the rule for number sequence: 7,21,42,126,252,756
  • Jan 3, 2010, 09:18 AM
    galactus

    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.
  • Jan 9, 2010, 09:10 AM
    Stratmando

    galactus, how do you find the sequence?
    Trial and error? Look and see what works?
  • Jan 9, 2010, 09:14 AM
    J_9
    Quote:

    Originally Posted by Stratmando View Post
    galactus, how do you find the sequence?
    Trial and error? Look and see what works?

    Finding the sequence is easy.

    7 x 3 = 21

    21 x 2 + 42

    42 x 3 = 126

    It's common repetition. If you look closely at all of the numbers in the list, you can see a pattern.
  • Jan 9, 2010, 09:31 AM
    galactus
    Quote:

    Originally Posted by Stratmando View Post
    galactus, how do you find the sequence?
    Trial and error? Look and see what works?

    No, I did not use trial and error. I just 'seen' it.
  • Jan 9, 2010, 09:33 AM
    J_9
    Quote:

    Originally Posted by galactus View Post
    No, I did not use trial and error. I just 'seen' it.

    Me too, and I've been awake for ever. I guess it's just something you get used to.
  • Jan 9, 2010, 10:23 AM
    Unknown008

    Yep, just seeing '7', '21', and '42', we know they are multiples of 7. So, there could be some multiplication in there.
  • Jan 9, 2010, 11:37 AM
    Stratmando

    How about a sequence like:
    1, 4, 9, 17, 34, 76, 99?
  • Jan 9, 2010, 11:39 AM
    Stratmando
    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?
  • Jan 9, 2010, 11:58 AM
    Unknown008
    Quote:

    Originally Posted by Stratmando View Post
    How about a sequence like:
    1, 4, 9, 17, 34, 76, 99?

    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.
  • Jan 9, 2010, 01:17 PM
    galactus
    Quote:

    Originally Posted by Stratmando View Post
    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?

    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.
  • Jan 9, 2010, 03:47 PM
    J_9
    Strat, see if you can pick up this sequence

    2, 4, 12, 24, 72, 144
  • Jan 9, 2010, 03:52 PM
    Stratmando
    432
    I see it is Times 2, times 3, times 2, times 3...
    I think galactus answered my question, Thanks All.
  • Jan 9, 2010, 03:53 PM
    J_9
    So, you see the pattern then?

    The OP was a sequence much the same. We were just able to see the pattern.
  • Jan 9, 2010, 03:56 PM
    Stratmando

    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.