An exact modulo-five formula for an exponential-over-cosine sequence

Dev D. Goyal

For a(n)=n![xn](ex−1)/cos⁡(2x)a(n)=n![x^{n}](e^{x}-1)/\cos (2x), all a(n)a(n) are integers and a(n)≡2⋅2n+3⋅4na(n)\equiv 2\cdot 2^{n}+3\cdot 4^{n} modulo five for every n≥0n\ge 0. Thus the residues for n≡0n\equiv 0,1,2,3 modulo four are 0,1,1,3, and five divides a(n)a(n) exactly when four divides n. The paper also verifies the already implied congruence a(n)≡1a(n)\equiv 1 modulo four for n≥1n\ge 1.

What was already known

Hanna recorded the sequence and conjectures. Existing formulas in Euler secant numbers already prove integrality and a(n)≡1a(n)\equiv 1 modulo four; the new record does not claim these as discoveries. The retained advance is the complete modulo-five formula, which strengthens divisibility at indices 4n to an exact if-and-only-if classification.

How the result developed

  1. 25 Oct 2026 · Manuscript date [1]

    Dev D. Goyal reported the AI-assisted result in this manuscript.

  2. 25 Oct 2026 · Verification report published [2]

    Dev D. Goyal’s project published passing Lean, NanoDa and con-ron checks for the exponential-over-cosine coefficient formula modulo five.

Follow new evidence and revisions to this result.

Get email updates

Download contribution history

Contribution Assessment

AI involvementAI-autonomous
ImportanceModest
Technical verificationFormal (Lean, NanoDa and con-ron)
Human understandingFew

AI involvement

Dev D. Goyal chose the problem and requested a proof, formal checks and revisions. The manuscript identifies GPT-6 with Pro reasoning as the source of the modulo-five formula for the exponential-over-cosine sequence. working autonomously from prompts by Dev D. Goyal, found the proof, wrote its Lean 4 formalization, and wrote a first draft of the paper. Claude Opus 5.5 reviewed the work and revised the exposition.

Importance

The exact geometric-sequence formula determines every residue modulo five and settles a recorded divisibility conjecture. The calculation is short and specific to this exponential generating function.

Technical verification

The source records completed comparison and exported-proof acceptance by Lean, NanoDa and con-ron for the exact OtherResults exact selected target interface. The actual independent definitions and selected statements match the retained normalization, parameter range and coefficient claims. A completed audit covers the relevant per-paper entry theorems, the general results and all compared solution declarations with only Lean’s three standard axioms. Separate PARI/GP calculations check the printed terms and indexing. This is source-reported completed checking at the exact pinned revision, not an independent rerun.

Formal checking

The source records completed comparison and exported-proof acceptance by Lean, NanoDa and con-ron for the exact OtherResults exact selected target interface. The actual independent definitions and selected statements match the retained normalization, parameter range and coefficient claims. A completed audit covers the relevant per-paper entry theorems, the general results and all compared solution declarations with only Lean’s three standard axioms. Separate PARI/GP calculations check the printed terms and indexing. This is source-reported completed checking at the exact pinned revision, not an independent rerun.

Checker
Source project’s Lean, NanoDa and con-ron
Scope
For a(n)=n![xn](ex−1)/cos⁡(2x)a(n)=n![x^{n}](e^{x}-1)/\cos (2x), all a(n)a(n) are integers and a(n)≡2⋅2n+3⋅4na(n)\equiv 2\cdot 2^{n}+3\cdot 4^{n} modulo five for every n≥0n\ge 0. Thus the residues for n≡0n\equiv 0,1,2,3 modulo four are 0,1,1,3, and five divides a(n)a(n) exactly when four divides n. The paper also verifies the already implied congruence a(n)≡1a(n)\equiv 1 modulo four for n≥1n\ge 1.
Basis
Reported by the linked checker

Human understanding

Goyal reports reviewing the proofs. The source does not document a human explanation of the complete central mechanism; the detailed explanations and independent proof checks were produced by models.

Other useful sources

View revision history
· addition

Added the research timeline.

· addition

Added a source excerpt documenting AI involvement.

· publication

Historical omission audit: original model-developed mathematics with exact source and checking scope.