login
Pseudo-random numbers: gcc 2.6.3 version for 32-bit integers.
2

%I #8 Nov 15 2019 21:29:50

%S 1,7261,13503,15223,8047,88,29253,1572,18740,14060,25029,21260,21203,

%T 8054,14922,1084,23230,9538,15465,24014,1274,13434,20285,1973,18297,

%U 3025,8994,27214,8752,5869,5683,29094,24317,15766,22147,906,13626

%N Pseudo-random numbers: gcc 2.6.3 version for 32-bit integers.

%H <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers.</a>

%o (C) unsigned next= 1; int i= 0; while (i++ < 37) next= next *69069 +5, printf( "%d ", (unsigned)( next >> 16) & 0x7FFF );

%Y See A084275, A084277, A061364 for other versions.

%K nonn,easy

%O 0,2

%A _Frank Ellermann_, May 25 2003