OEIS A233152
Abstract
The literal 5-column count obeys a recurrence determined by its finite row quotient.
Definition 1.1 (T5).
\forall n \in \operatorname{Nat},\; T5\left(n\right) = Finset.card\left(Finset.filter\left((\lambda f: Fin\left(n\right) \times Fin\left(5\right) \to Fin\left(3\right) \mapsto (Legal\left(f\right))), \operatorname{Finset.univ}\right)\right)
Formalization. D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.T5 (✓ std3).
Citation. R. H. Hardin; OEIS Foundation Inc. (2013). OEIS A233152: three-state horizontal and antidiagonal sum exclusion. URL: https://oeis.org/A233152.
Commentary.
Every labelled function satisfying the two bond conditions is counted.
Definition 1.2 (classes).
(classes: Fin\left(3\right) \to \left(Fin\left(3\right) \to \left(Fin\left(3\right) \to \left(Fin\left(3\right) \to \left(Fin\left(3\right) \to Fin\left(3\right)\right)\right)\right)\right))
Formalization. D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.classes (✓ std3).
Source. Repository-derived.
Acknowledgement. R. H. Hardin; OEIS Foundation Inc. (2013). OEIS A233152: three-state horizontal and antidiagonal sum exclusion. URL: https://oeis.org/A233152.
Commentary.
The complete nested lookup table on the 5 row coordinates, including its zero entries.
Definition 1.3 (classify).
\forall r \in Row\left(5\right),\; classify\left(r\right) = classes\left(r\left(0\right), r\left(1\right), r\left(2\right), r\left(3\right), r\left(4\right)\right)
Formalization. D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.classify (✓ std3).
Source. Repository-derived.
Acknowledgement. R. H. Hardin; OEIS Foundation Inc. (2013). OEIS A233152: three-state horizontal and antidiagonal sum exclusion. URL: https://oeis.org/A233152.
Commentary.
The finite decision tree assigns the successor class of a row.
Definition 1.4 (quotient).
quotient = ![![5, 8, 3], ![4, 7, 3], ![2, 5, 3]]
Formalization. D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.quotient (✓ std3).
Source. Repository-derived.
Acknowledgement. R. H. Hardin; OEIS Foundation Inc. (2013). OEIS A233152: three-state horizontal and antidiagonal sum exclusion. URL: https://oeis.org/A233152.
Commentary.
The quotient entry counts legal compatible successors in each class.
Definition 1.5 (weights).
weights = ![12, 24, 12]
Formalization. D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.weights (✓ std3).
Source. Repository-derived.
Acknowledgement. R. H. Hardin; OEIS Foundation Inc. (2013). OEIS A233152: three-state horizontal and antidiagonal sum exclusion. URL: https://oeis.org/A233152.
Commentary.
The weights count legal rows in each class.
Theorem 1.6 (finite_certificate).
(\forall r \in Row\left(5\right),\; (rowLegal\left(r\right)) \Rightarrow (\forall s \in Fin\left(3\right),\; \sum_{(c: Row\left(5\right))} \operatorname{if} (rowLegal\left(c\right)) \land ((compatible\left(r, c\right)) \land (classify\left(c\right) = s)) \operatorname{then} (1: \operatorname{Int}) \operatorname{else} 0 = quotient\left(classify\left(r\right), s\right))) \land ((\forall s \in Fin\left(3\right),\; \sum_{(c: Row\left(5\right))} \operatorname{if} (rowLegal\left(c\right)) \land (classify\left(c\right) = s) \operatorname{then} (1: \operatorname{Int}) \operatorname{else} 0 = weights\left(s\right)) \land (Matrix.mulVec\left((quotient)^{1 + 2}, (1: Fin\left(3\right) \to \operatorname{Int})\right) = \sum_{(j: Fin\left(2\right))} HSMul.hSMul\left(![-18, 15]\left(j\right), Matrix.mulVec\left((quotient)^{1 + Fin.val\left(j\right)}, (1: Fin\left(3\right) \to \operatorname{Int})\right)\right)))
Proof. Machine-checked in Lean as D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.finite_certificate (✓ std3). ∎
Source. Repository-derived.
Acknowledgement. R. H. Hardin; OEIS Foundation Inc. (2013). OEIS A233152: three-state horizontal and antidiagonal sum exclusion. URL: https://oeis.org/A233152.
Commentary.
The three finite identities give the successor counts, initial class multiplicities and a polynomial relation among quotient powers.
Theorem 1.7 (result).
\forall n \in \operatorname{Nat},\; (T5\left(n + 3\right): \operatorname{Int}) = 15 \cdot (T5\left(n + 2\right): \operatorname{Int}) - 18 \cdot (T5\left(n + 1\right): \operatorname{Int})
Proof. Machine-checked in Lean as D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.result (✓ std3). ∎
Resolves. Problems/hardin233152 (proved) by D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.result.
Source. Repository-derived.
Acknowledgement. R. H. Hardin; OEIS Foundation Inc. (2013). OEIS A233152: three-state horizontal and antidiagonal sum exclusion. URL: https://oeis.org/A233152.
Commentary.
The finite relation extends through all further matrix powers. The initial instance supplies the exact starting index.
References
- Truth anchor:
D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.T5 - Truth anchor:
D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.classes - Truth anchor:
D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.classify - Truth anchor:
D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.finite_certificate - Truth anchor:
D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.quotient - Truth anchor:
D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.result - Truth anchor:
D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233152Column.weights - Dependency: D5/S3/Combinatorics/TraceAvoidingArrays/HardinA233155RowTransfer
- Dependency: D5/S3/Combinatorics/TraceAvoidingArrays/TransferMatrix