A382684 Consecutive internal states of the linear congruential pseudo-random number generator for BCPL when started at 1.
1, 2862137630, 1410400247, 1369397724, 1652384221, 2669374922, 2140954419, 1701427304, 2594835833, 3034226998, 3288120879, 389815220, 357129941, 541493090, 3104757995, 2854522816, 2013295089, 2081295438, 2466720615, 4256030860, 3056739021, 751492090
Offset: 1
Links
- Sean A. Irvine, Table of n, a(n) for n = 1..10000
- Martin Richards, The BCPL Cintsys and Cintpos User Guide, Univ. of Cambridge, 2025.
- Index entries for sequences related to pseudo-random numbers.
Programs
-
Mathematica
NestList[Mod[2147001325*# + 715136305, 2^32] &, 1, 50] (* Paolo Xausa, Jun 04 2025 *)
Formula
a(n) = (2147001325 * a(n-1) + 715136305) mod 2^32.
Comments