Alphabeta Math
TheoremStatement: Literature-sourcedProof: AI-adaptedPipeline-generatedprecheck pass
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

The power-of-two mixed LCG has full period but dependent adjacent states

Statement

For the LCG of Linear congruential generator modulo a power of two, assume w≥2, a≡1(mod4), and c odd. For every seed the state sequence has exact period 2w. If the seed is chosen uniformly from {0,…,2w−1}, every xn is uniform on that finite set, but (xn,xn+1) is not an independent uniform pair.

Facts & Assumptions

Given: The LCG recurrence, M=2w, w≥2, a≡1(mod4), and odd c.

[F1]

The update is xn+1=[axn+c]M and the output state is a residue modulo M. Linear congruential generator modulo a power of two

[F2]

The uniform probability law on a finite set assigns equal mass to every point. The uniform probability space on a nonempty finite set

Proof

1.1givenF1algebra

For m≥1, let Sm=∑j=0m−1aj. Induction on m in the affine recurrence gives xm≡amx0+cSm(mod2w), and the same formula holds from any starting state.

2.1givenstep 1.1algebra

For every k≥0, a2k≡1(mod2k+2). The base case is a≡1(mod4). If a2k=1+q2k+2, then squaring gives a2k+1=1+q2k+3+q222k+4, whose difference from 1 is divisible by 2k+3.

3.1givenstep 2.1algebra

Write S2k=2kqk. For k=0, q0=1 is odd. The identity S2k+1=S2k(1+a2k) and a2k≡1(mod4) show that (1+a2k)/2 is odd; hence qk+1=qk(1+a2k)/2 is odd.

4.1F1step 1.1step 2.1step 3.1algebra

For every 0≤k<w, the affine iterate in step 1.1 and facts from steps 2.1 and 3.1 give x2k−x0≡(a2k−1)x0+cS2k≡2k(mod2k+1). Indeed, the first summand is divisible by 2k+2, while S2k=2kqk with qk odd and c odd; thus a return at 2k is impossible modulo 2k+1.

4.2F1step 1.1step 2.1step 3.1algebra

Taking k=w in the affine iterate from step 1.1 shows x2w≡x0(mod2w): the first summand (a2w−1)x0 is divisible by 2w+2 and cS2w by 2w. Thus a least positive return time d exists.

5.1F3step 4.1step 4.2algebra

This least return time divides 2w. Indeed, write 2w=qd+r with 0≤r<d. Determinism and xd=x0 imply xn+d=xn for all n≥0, so x2w=xr. Since x2w=x0, minimality of d forces r=0, hence 2w=dh for some positive integer h. By [F3], factor d and h into primes; their combined list is a prime factorization of 2w, whose prime list consists of w copies of the prime 2. Uniqueness in [F3] implies every prime factor of d is 2, so d=2j for some 0≤j≤w. If j<w, step 4.1 shows x2j≠x0 modulo 2j+1 and therefore modulo 2w, contradiction. Hence d=2w, for every seed.

6.1givenF1F2algebra∎

The map x↦[ax+c]2w is injective: if two outputs agree then 2w∣a(x−y). Since a is odd, 2∣ad implies 2∣d; canceling a factor 2 and repeating w times gives 2w∣x−y. Thus the map is a permutation of the finite state set. By [F2], a uniform seed therefore remains uniform at every time. The adjacent-pair law is supported on exactly the 2w pairs (x,[ax+c]2w), while the product of two uniform marginals assigns positive mass to all 22w pairs. Since w≥2, 2w<22w, so the adjacent states are dependent.

Depends on

Used by

Dependency tree · two levels

34 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources