OFFSET
0,1
COMMENTS
Davenport recommends b(n) as generator, a(n) uses bits 16..30 of b(n).
REFERENCES
H. Davenport, The Higher Arithmetic, 7th ed. 1999, Cambridge University Press, ch. 8.3.
FORMULA
b(n) = b(n-1) * 2147001325 +715136305, b(0) = 1, a(n) = (( b(n)/(2^16) ) mod (2^15)).
PROG
(C) unsigned next= 1; int i= 0; while (i++ < 36) next = next * 2147001325 +715136305, printf( "%d ", (next/65536) % 32768 );
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Frank Ellermann, May 25 2003
STATUS
approved