Hanna’s A382319 Congruence Modulo Three
Abstract
The A382319 coefficient at n and the A382318 coefficient at 3n have the same residue modulo three.
PowerSeries.coeff extracts rational coefficients. Integer values are cast to the rationals in coefficient equalities. Int.ModEq(3,u,v) expresses equality of integer residues modulo three. The predicates IsA382318 and IsA382319 are those of HannaLambertCubeModThree.
Definition 1.1 (The coefficient congruence).
Formalization. D5/S1/Recurrence/Invariants/HannaLambertCubeModThreeConverse.claim (✓ std3).
Citation. Paul D. Hanna (2025). OEIS A382319, g.f. A(x) satisfies A(x) = x/(1-x) + Sum_{n>=1} A(x^n)^3. URL: https://oeis.org/A382319.
Commentary.
OEIS A382319, Comments (unpaginated): “Conjecture: a(n) == A382318(3*n) (mod 3) for n >= 0.” Here A is the A382318 series and B is the A382319 series. Both solutions exist, and every such pair satisfies the displayed integer congruence for every natural n, including zero.
Theorem 1.2 (The congruence holds).
Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/HannaLambertCubeModThreeConverse.result (✓ std3). ∎
Resolves. Problems/hanna-a382319-a382318-lambert-cube-mod-three (proved) by D5/S1/Recurrence/Invariants/HannaLambertCubeModThreeConverse.result.
Source. Repository-derived.
Acknowledgement. Paul D. Hanna (2025). OEIS A382319, g.f. A(x) satisfies A(x) = x/(1-x) + Sum_{n>=1} A(x^n)^3. URL: https://oeis.org/A382319.
Commentary.
Apply the first coefficient congruence of HannaLambertCubeModThree.result and symmetry of Int.ModEq. The existence assertion is the same one.