OEIS A003024 and A188457: Bala's exp-integrality conjectures, with Gauss congruences for every q

Wentao Li

For q∈Zq\in\mathbb Z fix aq(0)=1a_q(0)=1 and aq(n)=∑j=1n(−1)j+1(nj)qj(n−j)aq(n−j)a_q(n)=\sum_{j=1}^n(-1)^{j+1}\binom{n}{j}q^{j(n-j)}a_q(n-j) for n≥1n\ge1. For every prime pp and n,r≥1n,r\ge1, aq(npr)≡aq(npr−1)(modpr)a_q(np^r)\equiv a_q(np^{r-1})\pmod{p^r}. Hence exp⁡(∑n≥1aq(n)xn/n)\exp(\sum_{n\ge1}a_q(n)x^n/n) has integer coefficients for every qq. At q=2q=2 this proves Bala’s conjecture for A003024 and the integrality of A188490. At q=3q=3 it proves the corresponding conjecture for A188457.

What was already known

Robinson’s recurrence for labeled acyclic digraphs and Stanley’s equivalent generating function give the case q=2q=2. The defining generating function for A188457 gives q=3q=3. Bala proposed both integrality statements in 2016. The implication from Gauss congruences to integral coefficients is Dold’s criterion.

How the result developed

  1. 16 Nov 2026 · Manuscript date [1]

    Wentao Li reported the AI-assisted result in this manuscript.

  2. 17 Nov 2026 · Follow-up work [2]

    GitHub reviewer bocowgill · The reviewer compares the recurrences, integrality claims and zero-constant-term composition with the pinned source, including all four theorem statements.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-centered
ImportanceNotable
Technical verificationFormal (Lean)
Human understandingFew

AI involvement

The disclosure covers the proof of the exp-integrality conjectures and the all-q Gauss congruences. Claude Code (Anthropic) developed the proof, wrote the Lean formalization and prepared this package under the direction of Wentao Li. Li is the human author and maintainer. The conjectures are due to Peter Bala.

Importance

A single theorem proves both conjectures and gives prime-power congruences for the recurrence at every integer weight.

Technical verification

The project reports a warning-free Lean 4.35.0 build, an axiom audit and a statement comparison for the selected declarations. The checks cover the recurrence-based Gauss congruences and integer coefficients, including the two specializations. In Formal Conjectures, reviewer bocowgill compared the statements with the pinned Palomar package. The review concerned statement alignment and the previously recorded Lean check.

Formal checking

The project reports a warning-free Lean 4.35.0 build, an axiom audit and a statement comparison for the selected declarations. The checks cover the recurrence-based Gauss congruences and integer coefficients, including the two specializations. In Formal Conjectures, reviewer bocowgill compared the statements with the pinned Palomar package. The review concerned statement alignment and the previously recorded Lean check.

Checker
Lean 4.35.0
Scope
The Gauss and exponential-integrality statements for the integer-parameter recurrence.
Basis
Reported by the linked checker

Human understanding

The project documents Li’s direction of the work and a review by another AI agent. A human explanation of the new argument is undocumented.

Other useful sources

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Historical backfill after source and scope review.