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.

A384432 Consecutive internal states of the linear congruential pseudo-random number generator for Borland C and C++ when started at 1.

Original entry on oeis.org

1, 22695478, 8561967, 719750332, 71484141, 763924754, 466453691, 1153135800, 420428313, 1503962414, 2039887495, 590113780, 954118533, 234047114, 1499440787, 1211909744, 89175345, 354709798, 1751187679, 1472143404, 1641484573, 1777295618, 2060562795, 471225640
Offset: 1

Views

Author

Sean A. Irvine, May 28 2025

Keywords

Comments

Periodic with period 2^31.

Crossrefs

Programs

  • Mathematica
    NestList[Mod[22695477*# + 1, 2^31] &, 1, 50] (* Paolo Xausa, May 30 2025 *)

Formula

a(n) = (22695477 * a(n-1) + 1) mod 2^31.
Showing 1-1 of 1 results.