login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A084275
Pseudo-random numbers: MS C 6.0 version.
2
41, 18467, 6334, 26500, 19169, 15724, 11478, 29358, 26962, 24464, 5705, 28145, 23281, 16827, 9961, 491, 2995, 11942, 4827, 5436, 32391, 14604, 3902, 153, 292, 12382, 17421, 18716, 19718, 19895, 5447, 21726, 14771
OFFSET
0,1
PROG
(C)
#include <stdio.h>
int main()
{
long next = 1;
int i = 0;
while ( i++ < 33 )
{
next = next * 214013L + 2531011L;
printf( "%d ", (unsigned)( next >> 16) & 0x7FFF );
}
printf("\n");
return 0;
}
CROSSREFS
See A084276, A084277, A061364 for other versions.
Sequence in context: A199200 A198602 A214338 * A218377 A258488 A297052
KEYWORD
nonn,easy
AUTHOR
Frank Ellermann, May 20 2003
EXTENSIONS
Corrected by Alan Klette, Jun 09 2019
STATUS
approved