login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A221559 Consecutive values produced by the C++ ranlux24_base random number generator with the default seed (19780503). 6
15039276, 16323925, 14283486, 7150092, 68089, 8584138, 4918023, 11368221, 8644539, 8342712, 3458016, 6733135, 8443170, 1196392, 3446939, 449678, 5065508, 4516318, 9837863, 7025236, 16004084, 14417659, 2735901, 15618433, 5184878, 902968, 7559237, 14143441 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

This is a "subtract with carry" generator and is used to define the ranlux24 (A221561) generator.

LINKS

Eric M. Schmidt, Table of n, a(n) for n = 1..1000

George Marsaglia and Arif Zaman, A New Class of Random Number Generators, Annals of Applied Probability, Volume 1, Number 3 (1991), 462-480.

Index entries for sequences related to pseudo-random numbers.

PROG

(C++)

#include <iostream>

#include <random>

void A221559(int max)

{

  std::ranlux24_base gen;

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

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

}

CROSSREFS

Cf. A221560, A221561, A221562.

Sequence in context: A204313 A186803 A221561 * A104334 A322691 A322681

Adjacent sequences:  A221556 A221557 A221558 * A221560 A221561 A221562

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 21 15:50 EDT 2020. Contains 337272 sequences. (Running on oeis4.)