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

A384397 Consecutive states of the linear congruential pseudo-random number generator 45742*s mod (2^31-909) when started at s=1.

Original entry on oeis.org

1, 45742, 2092330564, 521429475, 1283746116, 346822856, 916086159, 1929881610, 71652547, 472145160, 1777485336, 2037740772, 997589268, 2015058584, 703108709, 897067814, 1723253915, 1726644935, 72441828, 68230099, 688768691, 2085682592, 1372443189, 933442051
Offset: 1

Views

Author

Sean A. Irvine, May 27 2025

Keywords

Comments

Periodic with period 2^31-910.

Crossrefs

Cf. A096550-A096561 other pseudo-random number generators.

Programs

  • Mathematica
    NestList[Mod[45742*#, 2^31 - 909] &, 1, 50] (* Paolo Xausa, May 29 2025 *)

Formula

a(n) = 45742 * a(n-1) mod (2^31-909).

A384399 Consecutive states of the linear congruential pseudo-random number generator 41546*s mod (2^31-837) when started at s=1.

Original entry on oeis.org

1, 41546, 1726070116, 415531613, 62076069, 2032989474, 2081730174, 1986561601, 1628882794, 2086219292, 1660453472, 1609609959, 240622074, 352201199, 1750622311, 406689858, 2089566331, 1130153051, 774477142, 692384319, 266663829, 2099100496, 2099734917
Offset: 1

Views

Author

Sean A. Irvine, May 27 2025

Keywords

Comments

Periodic with period 2^31-838.

Crossrefs

Cf. A096550-A096561 other pseudo-random number generators.

Programs

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

Formula

a(n) = 41546 * a(n-1) mod (2^31-837).

A384400 Consecutive states of the linear congruential pseudo-random number generator 40692*s mod (2^31-249) when started at s=1.

Original entry on oeis.org

1, 40692, 1655838864, 2103410263, 1872071452, 652912057, 1780294415, 535353314, 525453832, 1422611300, 1336516156, 498340277, 1924298326, 2007787254, 2020508212, 2118231989, 1554910725, 1123836963, 514716691, 445999725, 238604751, 532080813, 504813878
Offset: 1

Views

Author

Sean A. Irvine, May 27 2025

Keywords

Comments

Periodic with period 2^31-250.
Implemented as gsl rng lecuyer21 in the GNU Scientific Library.

Crossrefs

Cf. A096550-A096561 (other pseudo-random number generators).

Programs

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

Formula

a(n) = 40692 * a(n-1) mod (2^31-249).

A384401 Consecutive states of the linear congruential pseudo-random number generator 40014*s mod (2^31-85) when started at s=1.

Original entry on oeis.org

1, 40014, 1601120196, 1346387765, 439883729, 732249858, 2127568003, 1962667596, 707287434, 1860990862, 1695805043, 1904850491, 53445315, 1814689225, 112933431, 612891482, 2124954851, 479214492, 407948861, 643161691, 28884682, 445508654, 322224693, 7553450
Offset: 1

Views

Author

Sean A. Irvine, May 27 2025

Keywords

Comments

Periodic with period 2^31-86.

Crossrefs

Cf. A096550-A096561 other pseudo-random number generators.

Programs

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

Formula

a(n) = 40014 * a(n-1) mod (2^31-85).

A384402 Consecutive states of the linear congruential pseudo-random number generator 39373*s mod (2^31-1) when started at s=1.

Original entry on oeis.org

1, 39373, 1550233129, 1548773083, 2044440394, 1622092461, 482805173, 2110316932, 1218777559, 1406738292, 1756031139, 1978020682, 2113853931, 894602131, 142925769, 1009147697, 429837187, 1808425391, 1165119911, 1868072236, 293238278, 798633422, 1138165032
Offset: 1

Views

Author

Sean A. Irvine, May 27 2025

Keywords

Comments

Periodic with period 2^31-2.

Crossrefs

Cf. A096550-A096561 other pseudo-random number generators.

Programs

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

Formula

a(n) = 39373 * a(n-1) mod (2^31-1).

A384375 Consecutive internal states of the linear congruential pseudo-random number generator 950706376*s mod (2^31-1) when started at s=1.

Original entry on oeis.org

1, 950706376, 129027171, 1728259899, 365181143, 1966843080, 1045174992, 636176783, 1602900997, 640853092, 429916489, 1671481929, 1285607481, 1066192246, 48796904, 1176434418, 776417870, 861463458, 1543924916, 557508687, 1650650964, 741730640, 1050856373
Offset: 1

Views

Author

Sean A. Irvine, May 28 2025

Keywords

Comments

Periodic with period 2^31-2.

Crossrefs

Programs

  • Mathematica
    NestList[Mod[950706376*#, 2^31 - 1] &, 1, 50] (* Paolo Xausa, May 29 2025 *)

Formula

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