login
A384745
Consecutive states of the linear congruential pseudo-random number generator (5^17*s+1) mod 2^48 when started at s=1.
1
1, 762939453126, 108446592504415, 237117407802652, 117233362822797, 181464088068226, 50336702857227, 255306056401528, 30528867956313, 110940877951102, 23915768730871, 190863546762260, 232890898414437, 164321838504634, 236717685210403, 41303196833264
OFFSET
1,2
COMMENTS
Periodic with period 2^48.
REFERENCES
Brian D. Ripley, Stochastic Simulation, John Wiley & Sons, 1987 (see p. 39).
FORMULA
a(n) = (5^17 * a(n-1) + 1) mod 2^48.
MATHEMATICA
NestList[Mod[5^17*# + 1, 2^48] &, 1, 20] (* Paolo Xausa, Jun 12 2025 *)
CROSSREFS
Cf. A382305.
Sequence in context: A017411 A017531 A348204 * A233806 A066543 A323533
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Jun 08 2025
STATUS
approved