This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Mathematical Functions / Random Numbers /


FilledSmallSquare SeedRandom[n] resets the pseudorandom number generator, using the integer n as a seed.

FilledSmallSquare SeedRandom[ ] resets the generator, using as a seed the time of day.

FilledSmallSquare You can use SeedRandom[n] to make sure you get the same sequence of pseudorandom numbers on different occasions.

FilledSmallSquare You can also use SeedRandom["string"], although the seed set in this way may be different on different computer systems.

FilledSmallSquare See Section 3.2.3.

FilledSmallSquare See also: Random, $RandomState.

FilledSmallSquare New in Version 1.

Further Examples