Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Quadratic Reversion and Dyadic Support

Abstract

Hanna’s A389476 series has odd coefficients exactly at the indices of A027383.

Paul D. Hanna’s OEIS entry hanna2025a389476 defines A(x-A(x)^2/(1-A(x))^2)=x and conjectures that a(n) is odd precisely at indices 32^m-2 or 42^m-2 for natural m. The formulas below use n+2=32^m or n+2=42^m. The products are at least three and four, so this is equivalent to the natural-subtraction formulation.

A denotes generatingSeries, U denotes innerSeries, and P denotes lacunarySeries. The first two series and the approximation T have integer coefficients; P has coefficients in ZMod(2). X is the indeterminate in the indicated coefficient ring. PowerSeries(R) denotes formal power series over R, coeff(n,f) extracts a coefficient, and mk constructs a series from its coefficient function. The notation subst(f,g) means f composed with g. The operation invOfUnit(f,1) is Mathlib’s power-series inverse with prescribed constant unit one. Every denominator here has constant coefficient one. All indices and exponents are natural numbers.

Definition 1.1 (The integer series).

Formalization. D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.generatingSeries (✓ std3).

Source. Repository-derived.

Commentary.

Starting from zero, the transformation f+X-subst(f,u(f)), where u(f)=X-(f*invOfUnit(1-f,1))^2, preserves zero constant coefficient. If two zero-constant inputs agree below degree d, their inner arguments agree below degree d+1. Substitution by an argument with linear coefficient one preserves the first coefficient of a difference. The transformation therefore gains one degree of agreement, making the displayed coefficientwise construction stable.

Definition 1.2 (The coefficient sequence).

Formalization. D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.a (✓ std3).

Source. Repository-derived.

Commentary.

The integer sequence consists of the coefficients of A.

Definition 1.3 (The inner argument).

Formalization. D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.innerSeries (✓ std3).

Source. Repository-derived.

Commentary.

The square of the product of A and the prescribed inverse gives A^2/(1-A)^2 in the ring of formal power series.

Theorem 1.4 (The generating equation and normalization).

Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.generating_equation (✓ std3). ∎

Source. Repository-derived.

Commentary.

Stabilization gives the reversion equation and constant coefficient zero. The linear coefficient is one. Multiplication by the square of the unit denominator gives the last conjunct, identifying U with the rational expression in Hanna’s equation.

Theorem 1.5 (Uniqueness of integer reversion).

Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.generating_unique (✓ std3). ∎

Source. Repository-derived.

Commentary.

Every zero-constant solution is fixed by the same transformation. Induction on the degree of agreement proves equality with A. A separate linear-coefficient hypothesis is unnecessary.

Definition 1.6 (The dyadic support series).

Formalization. D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.lacunarySeries (✓ std3).

Source. Repository-derived.

Commentary.

The coefficient is the indicator of the union of the two dyadic families, with values zero and one in ZMod(2).

Theorem 1.7 (The quadratic identity).

Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.lacunary_quadratic (✓ std3). ∎

Source. Repository-derived.

Commentary.

The support contains 1 and 2 and excludes 0. Beyond these indices, n+2 lies in the support exactly when n is even and n/2 lies in the support. Factoring a power of two from the defining equalities proves this equivalence. Frobenius identifies P^2 with subst(P,X^2), and coefficient extraction gives the quadratic identity.

Theorem 1.8 (Reversion in characteristic two).

Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.lacunary_reversion (✓ std3). ∎

Source. Repository-derived.

Commentary.

Put z=P, v=invOfUnit(1-P,1), and r=X+(z*v)^2. Clearing the unit denominator in the quadratic identity gives (1+X)r=zv. Squaring gives r+X=(1+X^2)r^2 and hence X=r+r^2+r^2X^2. Composing the quadratic identity with r gives the same equation for subst(P,r). The factor r^2 increases the degree of agreement, so induction proves uniqueness and subst(P,r)=X. In characteristic two, r is Inner(P).

Theorem 1.9 (Reduction equals the support series).

Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.mod_two_identity (✓ std3). ∎

Source. Repository-derived.

Commentary.

Map the proved integer generating equation through the canonical homomorphism to ZMod(2). A unit-denominator cancellation shows that mapping commutes with the inner argument, and Mathlib’s map_subst transports composition. The generic reversion uniqueness proof then identifies the reduced series with P.

Theorem 1.10 (Hanna’s parity conjecture).

Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.hanna_conjecture (✓ std3). ∎

Resolves. Problems/oeis-a389476-quadratic-reversion-dyadic-support-parity (proved) by D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.hanna_conjecture.

Citation. Paul D. Hanna (2025). OEIS A389476, g.f. satisfying A(x - A(x)^2/(1 - A(x))^2) = x. URL: https://oeis.org/A389476.

Commentary.

Extract coefficient n from the reduction identity. The coefficient of P is one exactly on its defining dyadic support, and an integer maps to one in ZMod(2) exactly when it is odd.

References

  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.a
  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.generatingSeries
  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.generating_equation
  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.generating_unique
  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.hanna_conjecture
  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.innerSeries
  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.lacunarySeries
  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.lacunary_quadratic
  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.lacunary_reversion
  • Truth anchor: D5/S1/Recurrence/Invariants/QuadraticReversionDyadicSupportParity.mod_two_identity