Full-period criterion for a mixed congruential generator

ID: full-period-criterion-for-a-mixed-congruential-generator

A linear congruential generator has period for every seed if and only if , every prime dividing divides , and implies . The coprimality of prevents the orbit from being trapped in a residue class; the multiplier conditions permit full-period lifting through each prime power. Combining the prime-power periods by the Chinese remainder theorem gives period . For , the multiplier criterion reduces to , together with . A positive increment alone is insufficient.

New to topics? Read the docs here!