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!)
A221560 Consecutive values produced by the C++ ranlux48_base random number generator with the default seed (19780503). 6
23459059301164, 28639057539807, 276846226770426, 130971693943559, 84358451161020, 208150879060961, 71914269758754, 242506792212635, 257147515259684, 55344035667239, 280360381592565, 89611811012381, 219047732911470, 228508457719877, 59972785607469, 149388687649005 (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 ranlux48 (A221562) 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 A221560(int max)

{

  std::ranlux48_base gen;

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

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

}

CROSSREFS

Cf. A221559, A221561, A221562.

Sequence in context: A125735 A317777 A017544 * A221562 A003851 A003844

Adjacent sequences:  A221557 A221558 A221559 * A221561 A221562 A221563

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 14:54 EDT 2020. Contains 337272 sequences. (Running on oeis4.)