login
A384746
Consecutive states of the linear congruential pseudo-random number generator MCNP from Los Alamos when started at 1.
7
1, 19073486328125, 29763723208841, 187205367447973, 131230026111313, 264374031214925, 74735272014937, 31978779697717, 72377397341089, 127824407320157, 39323977335081, 168134765887429, 73951303845617, 27971537168493, 266449281326841, 41546074810965
OFFSET
1,2
COMMENTS
Periodic with period 2^46.
Used for Monte Carlo simulations.
LINKS
Forrest B. Brown and Yasunobu Nagaya, The MCNP5 Random Number Generator, LA-UR-02-3782, American Nuclear Society, Winter Meeting, 2002.
B. D. Ripley, Thoughts on pseudorandom number generators, J of Computational and Applied Mathematics, 31, 1 (1990), 153-163.
FORMULA
a(n) = 5^19 * a(n-1) mod 2^48.
MAPLE
a:= proc(n) option remember; `if`(n<2, n,
irem(5^19*a(n-1), 2^48))
end:
seq(a(n), n=1..16); # Alois P. Heinz, Jun 09 2025
MATHEMATICA
NestList[Mod[5^19*#, 2^48] &, 1, 30] (* Paolo Xausa, Jun 11 2025 *)
CROSSREFS
Cf. A096550-A096561 other pseudo-random number generators.
Sequence in context: A288277 A297449 A321137 * A064589 A086644 A217797
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Jun 09 2025
STATUS
approved