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.

A384340 Consecutive states of the linear congruential pseudo-random number generator (314159221*s+211324863) mod 10^9 when started at s=1.

Original entry on oeis.org

1, 525484084, 688663427, 968835230, 345480693, 594745016, 131517399, 829111042, 288543145, 869414908, 434391531, 199282214, 320720157, 893442560, 869170623, 49089546, 741928529, 919640772, 742683475, 166897838, 983989061, 87606344, 997022887, 710415890
Offset: 1

Views

Author

Sean A. Irvine, May 26 2025

Keywords

Comments

Periodic with period 10^9.
A generator recommended by Van Es et al. for pocket calculators.
Referred to as "Pocket II" in the literature.

Crossrefs

Programs

  • Mathematica
    NestList[Mod[314159221*# + 211324863, 10^9] &, 1, 50] (* Paolo Xausa, May 27 2025 *)

Formula

a(n) = (314159221 * a(n-1) + 211324863) mod 10^9.