#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2007
    Posts
    6
    Rep Power
    0

    Sombody help with my prog


    Please, I'm having problem with one of my programs so I need the code to generate the sequence of random numbers after giving the input of three different numbers.
    The program should be able to accept input of first, second, third and possibly fourth number then detect the formular or progression and continue the sequence.

    Expample of such sequence are:
    49059, 49405, 47231, 47325
    another sequence: 50765, 51168, 50378
    I want to know the formular and continous sequence.

    Looking forward to your quick and positive response.

    Thanks in anticipation for your support.
  2. #2
  3. Type Cast Exception
    Devshed Supreme Being (6500+ posts)

    Join Date
    Apr 2004
    Location
    OAKLAND CA | Adam's Point (Fairyland)
    Posts
    14,954
    Rep Power
    8617
    Do you have the foggiest notion of what sort of algorithm you're trying to come up with? Could you possibly explain the process of deriving the sequence in plain English?

    50765, 51168, 50378
    So, do this by hand. What's the next number and how did you get it?
    medialint.com

    “Today you are You, that is truer than true. There is no one alive who is Youer than You.” - Dr. Seuss
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2009
    Posts
    18
    Rep Power
    0
    What do you think would be next in the sequence 49059, 49405, 47231, 47325?
    How did you work it out?

IMN logo majestic logo threadwatch logo seochat tools logo