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-1 of 1 results.

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

Original entry on oeis.org

1, 3141592622, 9463242263, 4176141324, 7731570205, 4771457306, 3946139027, 8663319768, 6512231929, 4386995910, 9213180111, 2661560932, 4313082773, 3419018034, 6680327115, 350218416, 1443908337, 6919581278, 3374549639, 5080613820, 7062622221, 4404231242
Offset: 1

Views

Author

Sean A. Irvine, Jun 03 2025

Keywords

Comments

Periodic with period 10^10.

References

  • Donald E. Knuth, The Art of Computer Programming, Vol 2: Seminumerical Algorithms (3rd ed.), Addison-Wesley, 1998 (see p. 106).

Crossrefs

Programs

  • Mathematica
    NestList[Mod[3141592621*# + 1, 10^10] &, 1, 50] (* Paolo Xausa, Jun 09 2025 *)

Formula

a(n) = (3141592621 * a(n-1) + 1) mod 10^10.
Showing 1-1 of 1 results.