Duplicate of How to make a random number generator based off an equation.. Thread closed.