[go: up one dir, main page]

login
Consecutive values produced by the C++ ranlux24 random number generator with the default seed (19780503).
6

%I #7 Sep 10 2015 01:10:38

%S 15039276,16323925,14283486,7150092,68089,8584138,4918023,11368221,

%T 8644539,8342712,3458016,6733135,8443170,1196392,3446939,449678,

%U 5065508,4516318,9837863,7025236,16004084,14417659,2735901,15059233,15707865,11839529,7081334,4448725

%N Consecutive values produced by the C++ ranlux24 random number generator with the default seed (19780503).

%C The ranlux24 generator takes the first 23 values from each block of 223 values of ranlux24_base (A221559).

%H Eric M. Schmidt, <a href="/A221561/b221561.txt">Table of n, a(n) for n = 1..1000</a>

%H M. Luescher, <a href="http://arxiv.org/abs/hep-lat/9309020"> A portable high-quality random number generator for lattice field theory calculations</a>, arXiv.

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

%o (C++)

%o #include <iostream>

%o #include <random>

%o void A221561(int max)

%o {

%o std::ranlux24 gen;

%o for (int i = 1; i <= max; ++i)

%o std::cout << i << ' ' << gen() << '\n';

%o }

%Y Cf. A221559, A221560, A221562.

%K nonn

%O 1,1

%A _Eric M. Schmidt_, Jan 20 2013