login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Consecutive numbers generated by the 'random' function in PARI (64 bit, version > 2.4) using the default argument (2^31).
3

%I #19 Sep 19 2016 03:07:35

%S 1546275796,879788114,1745191708,771966234,1247963869,1611845387,

%T 1529973242,2093650929,1860635684,1497261229,1145234796,1165293667,

%U 1233809453,785019983,252606271,111721893,473031201,1002808953,614474799,471414712,65507668

%N Consecutive numbers generated by the 'random' function in PARI (64 bit, version > 2.4) using the default argument (2^31).

%C For comments, references and programs see A260083. Both the 32 bit and the 64 bit version of the random number generator have a period of 2^4096-1.

%H Hugo Pfoertner, <a href="/A276820/b276820.txt">Table of n, a(n) for n = 1..100</a>

%H Richard P. Brent, <a href="http://arxiv.org/abs/1004.3115">Some long-period random number generators using shifts and xors</a>, ANZIAM Journal 48 (CTAC2006), C188-C202, 2007.

%H PARI, <a href="http://pari.math.u-bordeaux.fr/dochtml/html/Conversions_and_similar_elementary_functions_or_commands.html#random">Catalogue of GP/PARI Functions</a>, Conversions and similar elementary functions or commands: random({N = 2^{{31}}})

%o (PARI) setrand(1); vector(100, i, random())

%Y Cf. A260083, 32 bit version of this random number generator.

%K nonn

%O 1,1

%A _Hugo Pfoertner_, Sep 18 2016