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.

Showing 1-2 of 2 results.

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

Original entry on oeis.org

999500333083533, 529199358633911, 43582181444437, 294922982088079, 41089642444893, 284830972469031, 786870433805477, 40703079813759, 869103111377453, 156083179654551, 561556952003317, 315753873725039, 722319935785213, 518159379358471, 201897051493957, 715330849773919
Offset: 1

Views

Author

Paolo Xausa, May 27 2025

Keywords

References

  • The initial 999500333083533 seed is the one used by the calculators after a memory clean; successive executions of the RAND command give the terms of this sequence (divided by 10^15 and truncated to 12 significant digits).
  • See links for more information.

Crossrefs

Cf. A384416 (starting at 1).
Cf. other pseudo-random number generators: A096550-A096561, A381318, A382535, A383809, A384081, A384221.

Programs

  • Mathematica
    NestList[Mod[2851130928467*#, 10^15] &, 999500333083533, 15]

Formula

a(1) = 999500333083533; for n > 1, a(n) = 2851130928467*a(n-1) mod 10^15.

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

Original entry on oeis.org

1, 2851130928467, 261097470970089, 335429755623563, 468090732667921, 287888716607107, 194022960814969, 298923961822523, 84062462462241, 191517259514547, 165777802909449, 436661297384683, 996040654470961, 669370619746787, 188023750085529, 201468430854043, 677208350742081
Offset: 1

Views

Author

Paolo Xausa, May 28 2025

Keywords

Comments

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).
After a memory clean, the calculators use the seed 999500333083533 (cf. A384361).
See the Meyers link for more information.
Periodic with period 10^14/2.

Crossrefs

Cf. A384361 (starting at the default seed).
Cf. other pseudo-random number generators: A096550-A096561, A381318, A382535, A383809, A384081, A384221.

Programs

  • Mathematica
    NestList[Mod[2851130928467*#, 10^15] &, 1, 20]

Formula

a(1) = 1; for n > 1, a(n) = 2851130928467*a(n-1) mod 10^15.
Showing 1-2 of 2 results.