login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A221557 Consecutive values produced by the C++ mt19937 (Mersenne twister) random number generator with the default seed (5489). 4
3499211612, 581869302, 3890346734, 3586334585, 545404204, 4161255391, 3922919429, 949333985, 2715962298, 1323567403, 418932835, 2350294565, 1196140740, 809094426, 2348838239, 4264392720, 4112460519, 4279768804, 4144164697, 4156218106, 676943009, 3117454609 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The C++ Mersenne twister uses a different seeding procedure than the one in Matsumoto and Nishimura's paper.
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 A221557(int max)
{
std::mt19937 gen;
for (int i = 1; i <= max; ++i)
std::cout << i << ' ' << gen() << '\n';
}
CROSSREFS
Cf. A221558.
Sequence in context: A017386 A017506 A017638 * A217003 A159301 A113027
KEYWORD
nonn
AUTHOR
Eric M. Schmidt, Jan 20 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)