OFFSET
1,2
COMMENTS
Periodic with period 2^46.
Also implemented in the GNU Scientific Library as gsl_rng_ranf.
Also implemented in PASCLIB for Pascal programs on the CDC Cyber computers.
LINKS
Sean A. Irvine, Table of n, a(n) for n = 1..10000
George S. Fishman, Multiplicative Congruential Random Number Generators with Modulus 2^beta: An Exhaustive Analysis for beta = 32 and a Partial Analysis for beta = 48, Math. Comp., 54, 189 (1990), 331-344.
Mark Galassi, Jim Davies, James Theiler, Brian Gough, Gerard Jungman, Michael Booth, and Fabrice Rossi, GNU Scientific Library: Reference Manual, 2003 (see p. 181).
B. D. Ripley, Computer Generation of Random Variables: A Tutorial, International Statistical Review, 51 (1983), 301-309.
FORMULA
a(n) = 44485709377909 * a(n-1) mod 2^48.
MAPLE
a:= proc(n) option remember; `if`(n<2, n,
irem(44485709377909*a(n-1), 2^48))
end:
seq(a(n), n=1..16); # Alois P. Heinz, Jun 09 2025
MATHEMATICA
NestList[Mod[44485709377909*#, 2^48] &, 1, 30] (* Paolo Xausa, Jun 11 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Sean A. Irvine, Jun 07 2025
STATUS
approved
