Based on original algorithms developed at Wolfram Research,
Mathematica's core randomness generation is both highly efficient and of exceptional quality.
Mathematica can produce both discrete and continuous randomness, with a wide range of distributions conveniently specified in symbolic form.
RandomInteger — random integer or array of integers
RandomReal — random real or array of reals
RandomComplex — random complex numbers
RandomChoice — random choices from a list
RandomSample — random samples or permutation of a list
RandomPrime — random prime number
SeedRandom — seed and pick method
BlockRandom — make random number generation localized
TUTORIAL COLLECTION