Explore LCGs

Enter parameter values for A, C, m, and seed x0:

The sequence as it appears in order on the number line. The box goes from 0 to m.