cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A221560 Consecutive values produced by the C++ ranlux48_base random number generator with the default seed (19780503).

This page as a plain text file.
%I A221560 #10 Sep 10 2015 01:10:26
%S A221560 23459059301164,28639057539807,276846226770426,130971693943559,
%T A221560 84358451161020,208150879060961,71914269758754,242506792212635,
%U A221560 257147515259684,55344035667239,280360381592565,89611811012381,219047732911470,228508457719877,59972785607469,149388687649005
%N A221560 Consecutive values produced by the C++ ranlux48_base random number generator with the default seed (19780503).
%C A221560 This is a "subtract with carry" generator and is used to define the ranlux48 (A221562) generator.
%H A221560 Eric M. Schmidt, <a href="/A221560/b221560.txt">Table of n, a(n) for n = 1..1000</a>
%H A221560 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 A221560 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers.</a>
%o A221560 (C++)
%o A221560 #include <iostream>
%o A221560 #include <random>
%o A221560 void A221560(int max)
%o A221560 {
%o A221560   std::ranlux48_base gen;
%o A221560   for (int i = 1; i <= max; ++i)
%o A221560     std::cout << i << ' ' << gen() << '\n';
%o A221560 }
%Y A221560 Cf. A221559, A221561, A221562.
%K A221560 nonn
%O A221560 1,1
%A A221560 _Eric M. Schmidt_, Jan 20 2013