Wikipedia
Multiply-with-carry
In computer science, multiply-with-carry (MWC) is a method invented by George Marsaglia for generating sequences of random integers based on an initial set from two to many thousands of randomly chosen seed values. The main advantages of the MWC method are that it invokes simple computer integer arithmetic and leads to very fast generation of sequences of random numbers with immense periods, ranging from around 2 to 2.
As with all pseudorandom number generators, the resulting sequences are functions of the supplied seed values.