OctoInform Beta

OpenAI preprint, September 2026 · §2. A word rule with no vertical period · §2

Lemma 2.5: Assigning 11 at row 00 and the last nonzero base-pp digit elsewhere gives nonconstant columns for every prime p>2p > 2

Last nonzero digits satisfy a modular rule along lines for prime pp.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The setting

For a prime pp, let WW be an array of nonzero residues modulo pp on an infinite vertical strip of p2p^2 columns indexed by nn and integer rows indexed by mm. A word array WW of modulus pp satisfies the line rule if, for each line m=dn+em=dn+e with integer slope dd and integer intercept ee, there are integers aa and bb, at least one of which is not divisible by pp, with the following property. At each column nn, put t=an+bt=an+b. The letter W(n,dn+e)W(n,dn+e) is the residue of tt modulo pp if p∤tp\nmid t, and the residue of t/pt/p modulo pp if p∣tp\mid t and p2∤tp^2\nmid t. If p2∣tp^2\mid t, any nonzero residue modulo pp is allowed.

Word arrays

Fix a nonnegative integer modulus pp. The unit alphabet Σ=(ℤ/pℤ)×\Sigma = (\mathbb{Z}/p\mathbb{Z})^\times is the set of all invertible elements of the residue ring modulo pp.✦ The set of column indices II for modulus pp is the initial segment of nonnegative integers of length p2p^2 (equal to {0,1,…,p2−1}\{0, 1, \ldots, p^2 - 1\} when p≥1p \ge 1).✦

A word w:I→Σw \colon I \to \Sigma of length p2p^2 is a function assigning a letter in Σ\Sigma to each column index n∈In \in I.✦ For modulus pp, a word array W:I×ℤ→ΣW \colon I \times \mathbb{Z} \to \Sigma is a function assigning a letter in Σ\Sigma to each column index n∈In \in I and integer row index m∈ℤm \in \mathbb{Z}.✦

A word array WW of modulus pp has nonconstant columns if for every column index n∈In \in I, there exist integer row indices mm and m′m' such that W(n,m)≠W(n,m′)W(n,m) \neq W(n,m').✦

The line rule

A word w:I→Σw \colon I \to \Sigma is an admissible word for modulus pp if there exist integers aa and bb, not both divisible by pp, such that for every column index n∈In \in I, setting t=an+bt = an + b, the image of w(n)w(n) in ℤ/pℤ\mathbb{Z}/p\mathbb{Z} satisfies w(n)≡{t(mod⁡p)if p does not divide t,t/p(mod⁡p)if p divides t and p2 does not divide t.w(n) \equiv \begin{cases} t \pmod p & \text{if } p \text{ does not divide } t, \\ t/p \pmod p & \text{if } p \text{ divides } t \text{ and } p^2 \text{ does not divide } t. \end{cases}(1)✦ When p2p^2 divides tt, the entry w(n)w(n) in (1) may be any element of Σ\Sigma.

For modulus pp, a word array WW satisfies the line rule if for every integer slope dd and integer intercept ee, the word n↦W(n,dn+e)n \mapsto W(n, dn+e) on II is an admissible word for modulus pp.✦

The last nonzero base-pp digit

For integers pp and tt, the exponent ord⁡p(t)\operatorname{ord}_p(t) of pp in tt is the largest nonnegative integer rr such that prp^r divides tt when p≥2p \ge 2 and tt is nonzero, with ord⁡p(0)=0\operatorname{ord}_p(0) = 0 and ord⁡p(t)=0\operatorname{ord}_p(t) = 0 for p≤1p \le 1. For any nonnegative integer pp and integer tt, the pp-free part of tt is the integer qp(t)=t/pord⁡p(t)q_p(t) = t / p^{\operatorname{ord}_p(t)}.✦

Fix a prime pp. The last nonzero base-pp digit is the map fp:ℤ→Σf_p \colon \mathbb{Z} \to \Sigma assigning to each integer tt the residue class fp(t)={qp(t)(mod⁡p)if t≠0,1if t=0.f_p(t) = \begin{cases} q_p(t) \pmod p & \text{if } t \neq 0, \\ 1 & \text{if } t = 0. \end{cases}(2)✦

The claim

Lemma 2.5. Let pp be a prime, and let Wp:I×ℤ→ΣW_p \colon I \times \mathbb{Z} \to \Sigma be the word array given by Wp(n,m)=fp(m)W_p(n,m) = f_p(m) as in (2). Then Wp satisfies the line rule for modulus p,W_p \text{ satisfies the line rule for modulus } p,(3)✦ and if p>2p > 2, then Wp has nonconstant columns.W_p \text{ has nonconstant columns.}(4)✦

In the paper, for a prime p>200p > 200 and Σ=𝔽p×\Sigma = \mathbb{F}_p^\times, with rr the largest nonnegative integer with prp^r dividing tt for each nonzero t∈ℤt \in \mathbb{Z}, the map fp:ℤ→Σf_p \colon \mathbb{Z} \to \Sigma (written ff in the paper) given by fp(0)=1f_p(0) = 1 and fp(t)=t/pr(mod⁡p)f_p(t) = t / p^r \pmod p yields the word array Wp(n,m)=fp(m)W_p(n,m) = f_p(m) (written WW), which satisfies the line rule with every column nonconstant.

What is checked

For every prime pp, claim (3) is stated over the unit alphabet Σ\Sigma, column indices II, words of length p2p^2, word arrays, admissible words, the line rule, the pp-free part, and the last nonzero base-pp digit, and for every prime p>2p > 2, claim (4) is stated over those same constructions together with nonconstant columns.