login
Consecutive values produced by the C++ mt19937_64 (Mersenne twister) random number generator with the default seed (5489).
4

%I #10 Sep 10 2015 01:11:29

%S 14514284786278117030,4620546740167642908,13109570281517897720,

%T 17462938647148434322,355488278567739596,7469126240319926998,

%U 4635995468481642529,418970542659199878,9604170989252516556,6358044926049913402,5058016125798318033,10349215569089701407

%N Consecutive values produced by the C++ mt19937_64 (Mersenne twister) random number generator with the default seed (5489).

%C This is a 64-bit version of the Mersenne twister.

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

%H Makoto Matsumoto and Takuji Nishimura, <a href="http://saluc.engr.uconn.edu/refs/crypto/rng/matsumoto98mersenne.pdf">Mersenne Twister: A 623-dimensionally equidistributed uniform pseudo-random number generator</a>, ACM Transactions on Modeling and Computer Simulation: Special Issue on Uniform Random Number Generation, Vol. 8, No. 1, January 1998, pp. 3-30.

%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 A221558(int max)

%o {

%o std::mt19937_64 gen;

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

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

%o }

%Y Cf. A221557.

%K nonn

%O 1,1

%A _Eric M. Schmidt_, Jan 20 2013