Results 1 to 9 of 9

Thread: Help with sequence needed.

  1. #1

    Thread Starter
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181

    Help with sequence needed.

    Hey everyone I am looking for a formular that works for this sequence...
    1*2 + 2*3 + 3*4 + ... + n(n+1).

    thanks!
    Sanity is a full time job

    Puh das war harter Stoff!

  2. #2
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Boston, MA
    Posts
    391
    If you take a close you'll see that your series is:


    1^2 + 1 + 2^2 + 2 + ... + n^2 + n

    So, separate the terms and write it like this



    S = 1 + 2 + 3 + ... n + 1^2 + 2^2 + ... n^2


    So it's just the sum of all integers from 1 to n plus the sum of all squares from 1 to n.

    S = n(n+1)/2 + n(n+1)(2n+1)/6

  3. #3

    Thread Starter
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    great!!!
    Thanks!!!!
    Sanity is a full time job

    Puh das war harter Stoff!

  4. #4
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151
    Wy125: You deserve a Bravo! & an Ole! Nice analysis.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  5. #5

    Thread Starter
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    yeah and fast!!
    thanks a lot again

    now I have to prove it with induktion oh well I guess I am gonna do that tomorrow
    Sanity is a full time job

    Puh das war harter Stoff!

  6. #6
    Hyperactive Member
    Join Date
    Mar 2002
    Location
    Boston, MA
    Posts
    391
    no problem. guv, thanks for the praise but I'm much more impressed with your polynomial roots program!

  7. #7

    Thread Starter
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    haha seems like I ran over two math freaks... I guess I am gonna add you to my buddy list...
    any of you guys got ICQ? I could really need some kind of math expert there...
    Sanity is a full time job

    Puh das war harter Stoff!

  8. #8
    sql_lall
    Guest

    Wink simplification

    Just to tidy it up a bit:
    n(n+1)/2 + n(n+1)(2n+1)/6
    =
    3n(n+1)/6 + n(n+1)(2n+1)/6
    =
    (3n(n+1) + n(n+1)(2n+1))/6
    =
    n(n+1)(2n+4)/6
    =
    n(n+1)(n+2)/3

    -N.B. this also equals: (n^3 + 2n^2 + n)/3

  9. #9

    Thread Starter
    Frenzied Member /\/\isanThr0p's Avatar
    Join Date
    Jul 2000
    Location
    They can't stop us! We're on a misson from God.
    Posts
    1,181
    For stuff like that I use my TI 92+ (well sometimes my brain, only a few times though)
    thanks anyways
    Sanity is a full time job

    Puh das war harter Stoff!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width