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!)
A096556 Consecutive internal states of the linear congruential pseudo-random number generator used in the Watcom FORTRAN Function URAND when started with SEED=0. 1
0, 453816693, 2013878382, 1461722811, 653338732, 1830525137, 1741773690, 526418231, 109789464, 1577774445, 1454795974, 1716389619, 180917764, 1381854025, 70154322, 301698031, 2068689712, 1594166885, 1923590686 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(1)=0, a(n) = ( 2147437301 * a(n-1) + 453816693 ) mod 2^31. The sequence is periodic with period length 2^31.
MAPLE
a:= proc(n) option remember; `if`(n<2, 0,
irem(2147437301 * a(n-1) +453816693, 2147483648))
end:
seq(a(n), n=1..30); # Alois P. Heinz, Jun 10 2014
CROSSREFS
Cf. A096550-A096561 other pseudo-random number generators.
Sequence in context: A342857 A340925 A280001 * A038830 A038819 A351430
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jul 20 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 June 30 09:36 EDT 2024. Contains 373866 sequences. (Running on oeis4.)