in reply to Re: A script to determine the next number in a sequence
in thread A script to determine the next number in a sequence

I was unable to get 62.5.

My only guess is

1 x(5/1) =5 x2 =10 x(5/2) = 25 x2 =50 x(5/3) =83.3

In other words, a sequence of two stages:

Replies are listed 'Best First'.
Re^3: A script to determine the next number in a sequence
by Limbic~Region (Chancellor) on May 10, 2007 at 16:01 UTC
    monarch,
    The approach I used is that each term was being multiplied by some number. There were two patterns of multiples woven together. One pattern was constant - x 2. The other depends on the previous value (prev / 2).
    1 x 5 = 5 # pattern 1, no prev value so start with 5 5 x 2 = 10 # pattern 2, constant 10 x 2.5 = 25 # pattern 1, prev value 5 / 2 25 x 2 = 50 # pattern 2, constant 50 x 1.25 = 62.5 # pattern 1, prev value 2.5 / 2

    Cheers - L~R

      Nice observation!

      Just goes to show, there were definitely multiple answers to this question..