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.

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

This page as a plain text file.
%I A384432 #10 May 30 2025 11:26:35
%S A384432 1,22695478,8561967,719750332,71484141,763924754,466453691,1153135800,
%T A384432 420428313,1503962414,2039887495,590113780,954118533,234047114,
%U A384432 1499440787,1211909744,89175345,354709798,1751187679,1472143404,1641484573,1777295618,2060562795,471225640
%N A384432 Consecutive internal states of the linear congruential pseudo-random number generator for Borland C and C++ when started at 1.
%C A384432 Periodic with period 2^31.
%H A384432 Sean A. Irvine, <a href="/A384432/b384432.txt">Table of n, a(n) for n = 1..10000</a>
%H A384432 Wikipedia, <a href="https://en.wikipedia.org/wiki/Linear_congruential_generator">Linear congruential generator</a>.
%H A384432 <a href="/index/Ps#PRN">Index entries for sequences related to pseudo-random numbers</a>.
%F A384432 a(n) = (22695477 * a(n-1) + 1) mod 2^31.
%t A384432 NestList[Mod[22695477*# + 1, 2^31] &, 1, 50] (* _Paolo Xausa_, May 30 2025 *)
%Y A384432 Cf. A096556, A384331.
%K A384432 nonn,easy
%O A384432 1,2
%A A384432 _Sean A. Irvine_, May 28 2025