Re: [PHP] PHP Math Question

2003-12-11 Thread Evan Nemerson
On Thursday 11 December 2003 03:33 pm, Mike D wrote: > I'm am completely stumped on a seemingly simple math formula > > I need to find a way to map a set of numbers up to 4 (e.g. 1,2,3,4 or 1,2) > to any number in a range of up to 10,000 (ideally, unlimited). Such that, > > (e.g. 1,2,3,4) > > 1 is

[PHP] PHP Math Question

2003-12-11 Thread Mike D
I'm am completely stumped on a seemingly simple math formula I need to find a way to map a set of numbers up to 4 (e.g. 1,2,3,4 or 1,2) to any number in a range of up to 10,000 (ideally, unlimited). Such that, (e.g. 1,2,3,4) 1 is to 1 2 is to 2 3 is to 3 4 is to 4 5 is to 1 6 is to 2 7 is to 3