login
A384863
Consecutive states of the linear congruential pseudo-random number generator G05CAF when started at s=1.
1
1, 302875106592253, 458357793578900489, 130117127544889829, 214028503895537745, 129723886062288141, 506561892515206873, 27366493393768821, 104092279467936161, 249472354291378461, 22695394996597417, 331563264261234181, 550296776567063537, 359770781871757869
OFFSET
1,2
COMMENTS
Periodic with period 2^57.
This is the generator used by the G05CAF routine in the Fortran NAG library.
LINKS
NAG, G05CAF, NAG Fortran Library Routine Document.
B. D. Ripley, Computer Generation of Random Variables: A Tutorial, International Statistical Review, 51 (1983), 301-309.
FORMULA
a(n) = 13^13 * a(n-1) mod 2^59.
MATHEMATICA
NestList[Mod[13^13*#, 2^59] &, 1, 20] (* Paolo Xausa, Jun 11 2025 *)
CROSSREFS
Cf. A384217, A384387 (other Fortran pseudo-random number generators).
Sequence in context: A179660 A080125 A367001 * A204350 A172592 A082589
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Jun 10 2025
STATUS
approved