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”).

A221558
Consecutive values produced by the C++ mt19937_64 (Mersenne twister) random number generator with the default seed (5489).
4
14514284786278117030, 4620546740167642908, 13109570281517897720, 17462938647148434322, 355488278567739596, 7469126240319926998, 4635995468481642529, 418970542659199878, 9604170989252516556, 6358044926049913402, 5058016125798318033, 10349215569089701407
OFFSET
1,1
COMMENTS
This is a 64-bit version of the Mersenne twister.
LINKS
Makoto Matsumoto and Takuji Nishimura, Mersenne Twister: A 623-dimensionally equidistributed uniform pseudo-random number generator, ACM Transactions on Modeling and Computer Simulation: Special Issue on Uniform Random Number Generation, Vol. 8, No. 1, January 1998, pp. 3-30.
PROG
(C++)
#include <iostream>
#include <random>
void A221558(int max)
{
std::mt19937_64 gen;
for (int i = 1; i <= max; ++i)
std::cout << i << ' ' << gen() << '\n';
}
CROSSREFS
Cf. A221557.
Sequence in context: A257307 A115540 A104263 * A114993 A175273 A105303
KEYWORD
nonn
AUTHOR
Eric M. Schmidt, Jan 20 2013
STATUS
approved