Hanna’s Prime Bilateral Integrality Conjecture
Abstract
The normalized bilateral equation has an integral solution exactly at prime parameters.
PowerSeries and LaurentSeries are formal series over the rationals. The parameter p and coefficient indices N, K, n are natural numbers; j is an integer. HahnSeries.ofPowerSeries embeds power series in Laurent series, where powers have integer exponents. Natural numbers and integers in rational expressions are cast to the rationals. The parameter range is p at least two.
Definition 1.1 (The Laurent-series summand).
Formalization. D5/S1/Recurrence/Bilateral/HannaPrimeBilateralIntegrality.term (✓ std3).
Citation. Paul D. Hanna (2025). OEIS A380681–A380686, prime parameters and integral bilateral series. URL: https://oeis.org/A380681.
Commentary.
The unpaginated Comments of OEIS A380681 state: “Conjecture: if F(x) satisfies px = Sum_{n=-oo..+oo} (-1)^n * x^(pn) * (F(x) + x^n)^(p*n) with F(0) = 1 for some fixed integer p, then F(x) is an integer series in x iff p is prime. The g.f. A(x) of this sequence is the case when p = 2; other cases include A380682 (p=3), A380683 (p=5), A380684 (p=7), A380685 (p=11), and A380686 (p=13).” Here x is the embedded indeterminate and G is the embedded F. The sign and the two remaining factors use the source’s integer exponents.
Definition 1.2 (The coefficientwise bilateral equation).
Formalization. D5/S1/Recurrence/Bilateral/HannaPrimeBilateralIntegrality.IsSolution (✓ std3).
Citation. Paul D. Hanna (2025). OEIS A380681–A380686, prime parameters and integral bilateral series. URL: https://oeis.org/A380681.
Commentary.
The unpaginated Comments of OEIS A380681 state: “Conjecture: if F(x) satisfies px = Sum_{n=-oo..+oo} (-1)^n * x^(pn) * (F(x) + x^n)^(p*n) with F(0) = 1 for some fixed integer p, then F(x) is an integer series in x iff p is prime. The g.f. A(x) of this sequence is the case when p = 2; other cases include A380682 (p=3), A380683 (p=5), A380684 (p=7), A380685 (p=11), and A380686 (p=13).” The constant coefficient is one. At degree N, the sum is over every integer j in [-K,K], for every K at least N+1. Thus the right side is p at degree one and zero at every other degree.
Definition 1.3 (Existence and the prime criterion).
Formalization. D5/S1/Recurrence/Bilateral/HannaPrimeBilateralIntegrality.claim (✓ std3).
Citation. Paul D. Hanna (2025). OEIS A380681–A380686, prime parameters and integral bilateral series. URL: https://oeis.org/A380681.
Commentary.
The unpaginated Comments of OEIS A380681 state: “Conjecture: if F(x) satisfies px = Sum_{n=-oo..+oo} (-1)^n * x^(pn) * (F(x) + x^n)^(p*n) with F(0) = 1 for some fixed integer p, then F(x) is an integer series in x iff p is prime. The g.f. A(x) of this sequence is the case when p = 2; other cases include A380682 (p=3), A380683 (p=5), A380684 (p=7), A380685 (p=11), and A380686 (p=13).” For each natural p at least two a normalized rational solution exists, and each normalized rational solution has all coefficients in the integers if and only if p is prime. Parameters at most zero are outside this statement.
Theorem 1.4 (Prime parameters characterize integral solutions).
Proof. Machine-checked in Lean as D5/S1/Recurrence/Bilateral/HannaPrimeBilateralIntegrality.result (✓ std3). ∎
Resolves. Problems/oeis-a380681-hanna-prime-bilateral-integrality (proved) by D5/S1/Recurrence/Bilateral/HannaPrimeBilateralIntegrality.result.
Source. Repository-derived.
Acknowledgement. Paul D. Hanna (2025). OEIS A380681–A380686, prime parameters and integral bilateral series. URL: https://oeis.org/A380681.
Commentary.
Factoring the negative Laurent powers gives finite coefficient sums. At parameter one, a reindexing pairs the positive and negative binomial terms with opposite signs. Frobenius then makes every coefficient of the parameter-p sum divisible by p when p is prime. Removing its linear term gives a contraction by one coefficient degree; compatible iterates construct the normalized rational solution and prove its integrality at prime p. Below degree p, the equation reduces to the binomial expansion of (1-pX) to exponent -1/p. At a composite p, the least prime divisor divides the coefficient’s factorial denominator and none of its numerator factors, contradicting integrality.
References
- Truth anchor:
D5/S1/Recurrence/Bilateral/HannaPrimeBilateralIntegrality.IsSolution - Truth anchor:
D5/S1/Recurrence/Bilateral/HannaPrimeBilateralIntegrality.claim - Truth anchor:
D5/S1/Recurrence/Bilateral/HannaPrimeBilateralIntegrality.result - Truth anchor:
D5/S1/Recurrence/Bilateral/HannaPrimeBilateralIntegrality.term - Dependency: D5/S1/Recurrence/Bilateral/BilateralProductModFour
- Dependency: D5/S1/Recurrence/Bilateral/HannaThetaFourModFour
- Dependency: D5/S1/Recurrence/Invariants/CubicFifteenSubstitutionParity
- Dependency: D5/S1/Recurrence/Invariants/PowerSeriesNormalizedContraction
- Dependency: D5/S1/Recurrence/Invariants/UnitReversionSquareParity
- Dependency: D5/S1/Recurrence/Residue/ContinuedFractionOddSquare
- Dependency: D5/S1/Recurrence/Residue/NegativePowerDiagonalModPrime