login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A096552 Consecutive internal states of the linear congruential pseudo-random number generator MTH$RANDOM that is used in the VAX VMS Library. 1
0, 1, 69070, 475628535, 3277404108, 772999773, 3877832058, 3821835443, 1662200408, 2044158073, 3788989926, 797919023, 2743624612, 1156259413, 1059494674, 584849259, 786050992, 3369345009, 3077427454, 1200308583 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
COMMENTS
This generator is a variant of A096551.
LINKS
FORMULA
a(1)=0, a(n)=(69069*a(n-1)+1) mod 2^32. The sequence is periodic with period length 2^32-1.
MAPLE
a:= proc(n) option remember; `if`(n<2, 0,
irem(69069 *a(n-1)+1, 4294967296))
end:
seq(a(n), n=1..30); # Alois P. Heinz, Jun 10 2014
CROSSREFS
Cf. A096550-A096561 for other pseudo-random number generators.
Sequence in context: A250500 A354194 A096551 * A031663 A105010 A190379
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jul 18 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 16 10:45 EDT 2024. Contains 371709 sequences. (Running on oeis4.)