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.

A384416 Consecutive internal states of the linear congruential pseudo-random number generator of the HP 48 series calculators when started at 1.

This page as a plain text file.
%I A384416 #10 May 28 2025 04:44:19
%S A384416 1,2851130928467,261097470970089,335429755623563,468090732667921,
%T A384416 287888716607107,194022960814969,298923961822523,84062462462241,
%U A384416 191517259514547,165777802909449,436661297384683,996040654470961,669370619746787,188023750085529,201468430854043,677208350742081
%N A384416 Consecutive internal states of the linear congruential pseudo-random number generator of the HP 48 series calculators when started at 1.
%C A384416 To initialize the seed to 1, use the RDZ command with an argument between 10^-16 and 10^-13 (for example, "1E-13 RDZ"). Successive executions of the RAND command give the terms of this sequence (divided by 10^15 and truncated to 12 significant digits).
%C A384416 After a memory clean, the calculators use the seed 999500333083533 (cf. A384361).
%C A384416 See the Meyers link for more information.
%C A384416 Periodic with period 10^14/2.
%H A384416 Paolo Xausa, <a href="/A384416/b384416.txt">Table of n, a(n) for n = 1..10000</a>
%H A384416 John Meyers, <a href="https://groups.google.com/g/comp.sys.hp48/c/UbMwz6bGQmw/m/T8JTaWW0OeUJ">Random thoughts on HP48 random functions</a>, comp.sys.hp48 Google group, 1997.
%H A384416 Steve VanDevender and Detlef Mueller, <a href="https://www.hpcalc.org/hp48/docs/misc/rand.txt">How RAND Works</a>, hpcalc.org, 1992.
%H A384416 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384416 a(1) = 1; for n > 1, a(n) = 2851130928467*a(n-1) mod 10^15.
%t A384416 NestList[Mod[2851130928467*#, 10^15] &, 1, 20]
%Y A384416 Cf. A384361 (starting at the default seed).
%Y A384416 Cf. other pseudo-random number generators: A096550-A096561, A381318, A382535, A383809, A384081, A384221.
%K A384416 nonn,easy
%O A384416 1,2
%A A384416 _Paolo Xausa_, May 28 2025