Google up "linear congruential random number generator". These produce very good random numbers using a simple equation. You'll have to tailor the output of any specific generator to the range that you want, but that's just simple division.
Google up "linear congruential random number generator". These produce very good random numbers using a simple equation. You'll have to tailor the output of any specific generator to the range that you want, but that's just simple division.