random number ⇝
pseudorandom numbersimulation and encryption. They are pseudorandom not random because the sequence eventually repeats exactly and is entirely determined by the initial conditions. One of the simplest algorithms is
x[i+1] = (a * x[i] + c) mod mbut this repeats after at most m numbers and successive numbers are closely related. Better algorithms generally use more previous numbers to calculate the next number. http://random.mat.sbg.ac.at/.
Last updated: 2007-06-29