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”).
%I #14 Oct 28 2022 14:22:40
%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,15618433,5184878,902968,7559237,14143441
%N Consecutive values produced by the C++ ranlux24_base random number generator with the default seed (19780503).
%C This is a "subtract with carry" generator and is used to define the ranlux24 (A221561) generator.
%C Period is (2^572 - 2^236)/3. - _Charles R Greathouse IV_, Oct 28 2022
%H Eric M. Schmidt, <a href="/A221559/b221559.txt">Table of n, a(n) for n = 1..1000</a>
%H George Marsaglia and Arif Zaman, <a href="http://projecteuclid.org/euclid.aoap/1177005878">A New Class of Random Number Generators</a>, Annals of Applied Probability, Volume 1, Number 3 (1991), 462-480.
%H Alexei Sibidanov, <a href="https://arxiv.org/abs/1705.03123">A revision of the subtract-with-borrow random number generators</a>, arXiv preprint (2017). arXiv:1705.03123 [physics.comp-ph]
%H <a href="/index/Per#periodic">Index entries for periodic sequences with large period</a>.
%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 A221559(int max)
%o {
%o std::ranlux24_base gen;
%o for (int i = 1; i <= max; ++i)
%o std::cout << i << ' ' << gen() << '\n';
%o }
%Y Cf. A221560, A221561, A221562.
%K nonn
%O 1,1
%A _Eric M. Schmidt_, Jan 20 2013