Preprint
Article

This version is not peer-reviewed.

An Explicit Eventual p4-Divisibility Theorem for an Apery-Type Numerator Family

Submitted:

01 July 2026

Posted:

02 July 2026

You are already at the latest version

Abstract
For a nonnegative integer m, let um(n) be the numerator of the rational sum $\sum\limits_{k=1}^n \frac{\binom{n}{k}^2\binom{n+k}{k}^2}{k^{2m+1}}$. OEIS A357513 records the finite-exception conjecture that um(p-1)≡0(mod p4) for all but finitely many primes p, depending on m. We prove an explicit eventual theorem: for every prime p>2m+6, one has um(p-1)≡0(mod p4). Equivalently, the possible exceptional primes are contained in the concrete interval {0,1,...,2m+6}. The proof is a direct calculation in Z/p4Z: the Apery-type binomial summand at n = p-1 is reduced to two inverse-power sums, those sums vanish to the required p-adic orders by finite-field and Wolstenholme-type cancellations, and a common-denominator lemma transfers the congruence to the reduced numerator. The source-facing theorem and the effective witness are Lean verified in the AMRA formalization.
Keywords: 
;  ;  ;  ;  ;  

1. Introduction

The Apery numbers and their relatives are a central source of striking congruences and supercongruences in number theory. OEIS A357513 is attached to the numerators of a rational Apery-type binomial sum,
a ( n ) = num k = 1 n n k 2 n + k k 2 k 3 ,
with a ( 0 ) = 0 . The same source records a broader m-parameter finite-exception conjecture: for a nonnegative integer m, if
u m ( n ) = num k = 1 n n k 2 n + k k 2 k 2 m + 1 ,
then u m ( p 1 ) 0 ( mod p 4 ) for all primes p, apart from finitely many exceptions depending on m. The source formulation is qualitative: it predicts finite exception sets but does not give a uniform construction of such a set.
The main theorem establishes this statement in an explicit eventual form. For every nonnegative integer m, every prime p > 2 m + 6 satisfies
u m ( p 1 ) 0 ( mod p 4 ) .
Equivalently, one may take the exceptional set to be { 0 , 1 , , 2 m + 6 } . This is a sufficient bound produced by the argument, not a claim that these are the sharp exceptional primes for a given m.
The mathematical contribution proved here is therefore an explicit uniform eventual bound for this numerator family. The result upgrades the qualitative finite-exception assertion to a theorem with a concrete witness. Since the conjectural formulation is recorded on OEIS, it is natural to state the result relative to that source; however, the theorem itself should be read as an effective supercongruence statement, while any absolute claim about first appearance in the literature depends on the broader related-work discussion rather than on the OEIS record alone.
The proof is short conceptually but sensitive to denominator bookkeeping. Working in Z / p 4 Z , where 1 , , p 1 are units, we expand the squared binomial product in the summand for n = p 1 and obtain the congruence
p 1 k 2 p 1 + k k 2 k ( 2 m + 1 ) p 2 k ( 2 m + 3 ) 2 p 3 k ( 2 m + 4 ) ( mod p 4 ) .
Thus the full sum reduces to two inverse-power sums. The even-exponent term vanishes by the standard finite-field power-sum identity, and the odd-exponent term vanishes by a mod- p 2 pairing of k with p k . A final common-denominator lemma then transfers the resulting residue computation for the rational sum to the numerator in lowest terms.

3. Statement

For a rational number q, write num ( q ) for the absolute value of the numerator of q in lowest terms. This convention is sign-insensitive for the congruence num ( q ) 0 ( mod p 4 ) . For m , n 0 , define
u m ( n ) = num k = 1 n n k 2 n + k k 2 k 2 m + 1 .
Theorem 1.
Let m 0 . If p is a prime and p > 2 m + 6 , then
u m ( p 1 ) 0 ( mod p 4 ) .
Consequently, the OEIS A357513 finite-exception conjecture holds with the explicit exception set
E m = { 0 , 1 , , 2 m + 6 } .
The final passage from the rational Apery-type sum to the reduced numerator is isolated in the following elementary lemma, which will be applied after the residue computation modulo p 4 .
Lemma 1.
Let q = N / D Q with N , D Z , D 0 , and gcd ( D , p ) = 1 . If N 0 ( mod p 4 ) , then
num ( q ) 0 ( mod p 4 ) .
Indeed, if g = gcd ( N , D ) , then q = ( N / g ) / ( D / g ) in lowest terms up to the harmless sign convention for the denominator. Since g D and gcd ( D , p ) = 1 , the factor g is a unit modulo p 4 . Thus divisibility of N by p 4 is unchanged when one passes from the unreduced numerator N to the reduced numerator N / g , and taking absolute value does not affect congruence to 0.
The archived formal artifact checked for this result is the result-bundle release dated 2026-06-10, whose verified Lean module is
AmraLibrary/OpenProblemBatches/TrueOpenNextRound20260606/04generalsupercongruencezmodcast.lean.
The build report records a successful lake env lean verification of the declarations
theorem general_supercongruence_source_statement
    (m : Nat) : exists exceptions : Finset Nat, forall p, p.Prime ->
      p notin exceptions -> OeisA357513.u m (p - 1) = (0 : ZMod (p ^ 4))
theorem general_supercongruence_eventual
    (m : Nat) :
    exists exceptions : Finset Nat, forall p, p.Prime ->
      p notin exceptions ->
      ((OeisA357513.u m (p - 1) : Nat) : ZMod (p ^ 4)) = 0
Both displayed Lean theorem types are existential in the exception set, because the public source-facing interface follows the FormalConjectures shape. The effective bound in thm:a357513 is formalized inside the proof term of general_supercongruence_eventual: its witness for the existential exception set is Finset . Icc 0 ( 2 * m + 6 ) . The source-facing wrapper then obtains the source statement from that effective theorem. Thus the printed Lean type is existential, while the Lean proof object supplies the explicit finite set used in the manuscript.

4. Proof

The proof uses two standard congruence inputs: the nontrivial power-sum vanishing over F p × , and the first-order binomial expansion ( 1 x ) e 1 + e x ( mod x 2 ) applied with x = p / k . The remaining work is the bookkeeping needed to reduce the Apery-type numerator sum to these two elementary facts.
Lemma 2
(Summand expansion). Let m 0 , let p be prime, and let 1 k p 1 . In Z / p 4 Z ,
p 1 k 2 p 1 + k k 2 k ( 2 m + 1 ) p 2 k ( 2 m + 3 ) 2 p 3 k ( 2 m + 4 ) ( mod p 4 ) .
Proof. 
Put R = Z / p 4 Z . Since 1 k p 1 , every 1 , , k is a unit in R. In R, the binomial coefficients admit the product expansions
p 1 k = ( 1 ) k j = 1 k 1 p j , p 1 + k k = p k j = 1 k 1 1 + p j .
After squaring and separating the factor with j = k , we obtain
p 1 k 2 p 1 + k k 2 = p 2 k 2 1 p k 2 j = 1 k 1 1 p j 2 1 + p j 2 = p 2 k 2 1 p k 2 j = 1 k 1 1 p 2 j 2 2 .
Set
P k = j = 1 k 1 1 p 2 j 2 2 .
Each factor satisfies 1 p 2 j 2 2 1 ( mod p 2 ) . A finite product of elements congruent to 1 modulo p 2 is again congruent to 1 modulo p 2 , so
P k 1 ( mod p 2 ) .
Hence P k = 1 + p 2 C k for some C k R . Multiplying by the leading factor p 2 k 2 , the p 2 C k error contributes a multiple of p 4 , and we get
p 2 k 2 1 p k 2 P k p 2 k 2 1 p k 2 ( mod p 4 ) .
Now
1 p k 2 = 1 2 p k + p 2 k 2 ,
so
p 2 k 2 1 p k 2 = p 2 k 2 2 p 3 k 3 + p 4 k 4 p 2 k 2 2 p 3 k 3 ( mod p 4 ) .
Multiplying by k ( 2 m + 1 ) yields the stated congruence. □
Lemma 3
(Inverse-power cancellation). Let m 0 , let p be prime, and suppose p > 2 m + 6 . In Z / p 4 Z , set
H a = k = 1 p 1 k a .
Then
H 2 m + 4 0 ( mod p ) and H 2 m + 3 0 ( mod p 2 ) .
Proof. 
Let e = 2 m + 3 . The hypothesis p > 2 m + 6 is used here to obtain
0 < e + 1 = 2 m + 4 < p 1 .
Reduction modulo p identifies H e + 1 with
x F p × x ( e + 1 ) .
Because inversion permutes F p × , this equals x F p × x e + 1 . The multiplicative group F p × is cyclic of order p 1 , so this power sum is 0 whenever 0 < e + 1 < p 1 . Hence
H e + 1 0 ( mod p ) .
For the odd-exponent sum, the map k p k permutes { 1 , , p 1 } . Therefore
2 H e = k = 1 p 1 k e + ( p k ) e .
Now e is odd, so in Z / p 2 Z we have
( p k ) e = ( k ) e 1 p k e k e 1 + e p k ( mod p 2 ) ,
because terms of order ( p / k ) 2 vanish modulo p 2 . Therefore
k e + ( p k ) e e p k ( e + 1 ) ( mod p 2 ) ,
and summing gives
2 H e e p H e + 1 ( mod p 2 ) .
Since H e + 1 0 ( mod p ) , the right-hand side is 0 modulo p 2 . Because p > 2 m + 6 6 , the prime p is odd and 2 is a unit modulo p 2 . Thus H e 0 ( mod p 2 ) . Substituting e = 2 m + 3 proves both claims. □
Proof of Theorem 1.
Fix m 0 and a prime p > 2 m + 6 . Put
R = Z / p 4 Z .
For 1 k p 1 , the residue class of k is a unit in R. Thus every occurrence of k a below is well-defined in R.
Define the hypergeometric residue sum
S m ( p ) = k = 1 p 1 p 1 k 2 p 1 + k k 2 k ( 2 m + 1 ) .
By Lemma 2,
S m ( p ) = p 2 H 2 m + 3 2 p 3 H 2 m + 4 in R ,
where H a = k = 1 p 1 k a . By lem:inversepowercancellation, H 2 m + 3 0 ( mod p 2 ) and H 2 m + 4 0 ( mod p ) . Hence both terms on the right vanish in R, and therefore
S m ( p ) = 0 in R .
It remains to pass from the residue sum to the reduced numerator. Apply lem:numeratortransferstatement to
r = 2 m + 1 , A k = p 1 k 2 p 1 + k k 2 , D = k = 1 p 1 k r .
Then D is prime to p, hence a unit in R, and
k = 1 p 1 A k k r = N D , N = k = 1 p 1 A k D k r .
Here each quotient D / k r is an integer because k r is one factor of the product defining D. Let a bar denote reduction modulo p 4 . Since D = k r ( D / k r ) and k ¯ r is a unit in R, we have
D / k r ¯ = D ¯ ( k ¯ r ) 1 .
Therefore
N ¯ = k = 1 p 1 A ¯ k D / k r ¯ = D ¯ k = 1 p 1 A ¯ k ( k ¯ r ) 1 = D ¯ S m ( p ) .
The residue sum was already shown to be S m ( p ) = 0 in R, so N 0 ( mod p 4 ) . Since D is prime to p, the numerator-transfer lemma applies to the rational sum N / D . Its reduced numerator, with the absolute-value convention of num, is therefore also 0 modulo p 4 . This reduced numerator is exactly u m ( p 1 ) , proving the congruence.
Finally, take E m = { 0 , 1 , , 2 m + 6 } . If p is prime and p E m , then p > 2 m + 6 , so the congruence just proved applies. This proves the finite-exception statement. □

5. Formal Verification

The argument is backed by a Lean 4 formalization in the AMRA library, written in the Lean/mathlib environment of [9,10]. The formal proof support package is
at formal-proof repository commit
b7351db516d97340a8b967a5330eef9e80d5fbf5.
The support package contains the Lean source tree, reproduction instructions, verified-declaration manifest, build report, original FormalConjectures source file, source-status audit, and source archive. The source archive SHA256 checksum is
0a4b5f568528eaf2fcdc781788f16f73aaf16ff6aa649d9537ab9c9a75fd497d.
The target module is
AmraLibrary/OpenProblemBatches/TrueOpenNextRound20260606/04generalsupercongruencezmodcast.lean.
The archived target-file SHA256 checksum is
eec4e116aa4e1c8083868b6f3ccb25100be59cffffe1b328ca514cfb1064e654.
For artifact review, the support package above is the intended supplementary object. A reader can verify the archive by running sha256sum on the zip file and can check the Lean source directly from the package root with the command below. The theorem names quoted in thm:a357513 are the declarations checked by that command. The recorded verification command is
timeout 1200s prlimit--as=22000000000--env LEANNUMTHREADS=1 OMPNUMTHREADS=1 lake env lean AmraLibrary/OpenProblemBatches/TrueOpenNextRound20260606/04generalsupercongruencezmodcast.lean.
The corresponding build report records status passed , and the ARA support manifest classifies the target declarations as verified . The placeholder scan reports zero occurrences of sorry, admit, axiom, constant, and other placeholder markers in the target file. The checked toolchain is:
Lean 4.26.0, Lean commit d8204c9fd894f91bbb2cdfec5912ec8196fd8562;
Lake 5.0.0-src+d8204c9;
mathlib v4.26.0, revision 2df2f0150c275ad53cb3c90f7c98ec15a56a1a67;
AMRA git head e4e339e5b380375cf1c7838251966d0fc3c06929.
The AMRA checkout observed during extraction was not clean, so the source archive checksum above is the immutable reproduction identifier.
The formal development separates the effective theorem from the source-facing wrapper. The declaration
OeisA357513NextRound20260606.general_supercongruence_eventual
has an existential theorem type, but its proof body supplies the explicit witness
Finset.Icc 0 (2 * m + 6).
Thus the bound E m = { 0 , 1 , , 2 m + 6 } is formalized as the witness used to prove the effective Lean theorem, even though the printed theorem type follows the existential finite-exception shape. By contrast,
OeisA357513NextRound20260606.general_supercongruence_source_statement
is the wrapper matching the FormalConjectures source format: it asserts only the existence of a finite exception set for each m, and obtains that statement by exact specialization of the effective theorem. This is the same convention used in the statement section: the public theorem type is existential, while the explicit set in thm:a357513 is the witness constructed in the Lean proof.
The main formal lemmas mirror the handwritten proof. They carry out, respectively, the reduction of the Apery-type summand modulo p 4 , the cancellation of the inverse-power sums, and the transfer from the rational hypergeometric sum to the numerator u m ( p 1 ) . The final theorem in the manuscript is therefore aligned with a concrete Lean proof object rather than only with an informal source annotation.
The formal theorem matches the manuscript at the level relevant to the source problem: it proves the finite-exception congruence for the same u m ( p 1 ) family and supplies the explicit witness Finset.Icc 0 (2 * m + 6). The theorem is not a sharp-exception classifier, and the Lean statement deliberately retains the source-facing existential wrapper so that it remains aligned with the FormalConjectures interface.

6. Scope and Limitations

thm:a357513 is an eventual theorem. It proves the finite-exception statement for the generalized numerator congruence and supplies the explicit bound p > 2 m + 6 , equivalently the exception set { 0 , 1 , , 2 m + 6 } , but it does not determine the minimal exceptional set for each fixed m. That distinction is genuine: the OEIS entry records sharper behavior in special cases, so the theorem should be read as an effective uniform bound rather than as a sharp classification of all exceptions.
The bound is also not expected to be sharp in small m. For example, the FormalConjectures source records the m = 1 specialization as holding for all primes p 3 except p = 7 , whereas the uniform theorem here only gives the automatic threshold p > 8 . The proof deliberately favors a uniform inequality, 0 < 2 m + 4 < p 1 , that makes the finite-field power-sum cancellation immediate for every m. Refining the small exceptional primes would require additional case analysis and is outside the purpose of this note.
The result also sits in a broader literature on Apery-type supercongruences and Wolstenholme-type harmonic-sum congruences [3,4,7,8]. Its specific contribution is narrower than those general theories. The argument treats the concrete numerator family attached to OEIS A357513 by an explicit modulo- p 4 computation at n = p 1 ; it does not attempt a wider classification of related Apery kernels or a multivariate framework.
The source page separately marks the m = 1 case as proved by the linked AlphaProof and FormalConjectures artifact. The present theorem is therefore not merely a reformulation of that isolated case. Rather, it establishes the full m-parameter eventual statement for every nonnegative m, for all primes sufficiently large relative to m.
The provenance claim should remain correspondingly cautious. OEIS A357513 records the general statement as a conjecture, and the source audit bundled with this manuscript did not locate a public proof of the full general theorem among the indexed sources checked. This supports the claim that the paper proves an explicit eventual bound for the OEIS conjectural family. It does not by itself justify an absolute first-priority claim, which should be reserved until a broader independent literature check has been completed.

7. Conclusions

We established an explicit eventual supercongruence for the numerator sequence associated with OEIS A357513: for each nonnegative integer m, the stated congruence holds for every prime p E m = { 0 , 1 , , 2 m + 6 } , equivalently every prime p > 2 m + 6 . The argument proceeds by a mod- p 4 expansion of the Apery-type binomial summand, the resulting inverse-power-sum cancellations, and a final transfer from the rational congruence to the numerator in lowest terms.
Accordingly, the main contribution of the paper is the proof of this explicit finite exceptional bound together with a formal verification of the source-facing theorem in the AMRA Lean development. The proof closes the general eventual statement, while leaving the sharper problem of determining minimal exceptional sets for fixed m. Questions of priority relative to the broader literature on Apery-type supercongruences and related numerator families should be read in that narrower scope.

Supplementary Materials

The following supporting information can be downloaded at the website of this paper posted on Preprints.org. The Lean formal verification artifact and reproduction instructions are provided as supplementary material.

Author Contributions

Conceptualization, Z.C. and Y.F.; methodology, Z.C., Q.W. and Y.F.; formal analysis, Q.W.; validation, Z.C., Q.W. and Y.F.; writing–original draft preparation, Z.C., Q.W. and Y.F.; writing–review and editing, Z.C. and Y.F.; supervision, Z.C. and Y.F. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (Grant No. 62501380).

Data Availability Statement

The original contributions presented in this study are included in the article and supplementary material. Further inquiries can be directed to the corresponding author(s).

Acknowledgments

During the preparation of this manuscript and related submission materials, the authors used OpenAI ChatGPT/Codex (accessed June 2026) for language editing, formatting assistance, and preparation of submission metadata. The authors have reviewed and edited the output and take full responsibility for the content of this publication.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. OEIS Foundation Inc. A357513: Numerators of an Apery-type binomial sum. 2026. Available online: https://oeis.org/A357513 (accessed on 2026-06-10).
  2. Google DeepMind Formal Conjectures Authors. FormalConjectures/OEIS/357513.lean. 2026. Available online: https://github.com/google-deepmind/formal-conjectures/blob/879bf00811ed2e504511fe6f78b59605fddcfa31/FormalConjectures/OEIS/357513.lean (accessed on 2026-06-10).
  3. Osburn, R.; Sahu, B. Supercongruences for Apery-like numbers. Adv. Appl. Math. 2011, 47, 631–638, [arXiv:math.NT/0906.3413]. [Google Scholar] [CrossRef]
  4. Straub, A. Multivariate Apery numbers and supercongruences of rational functions. Algebra Number Theory 2014, 8, 1985–2008, [arXiv:math.NT/1401.0854]. [Google Scholar] [CrossRef]
  5. McCarthy, D. Binomial coefficient–harmonic sum identities associated to supercongruences. Integers 2011, 11, A37, [arXiv:math.NT/1204.1573]. [Google Scholar]
  6. Sun, Z.H.; Ye, D. Supercongruences via Beukers’ method. J. Number Theory 2026, 280, 88–112, [arXiv:math.NT/2408.09776]. [Google Scholar]
  7. Rosen, J. Multiple harmonic sums and Wolstenholme’s theorem. Int. J. Number Theory 2015, 11, 1863–1879, [arXiv:math.NT/1302.0073]. [Google Scholar]
  8. Sun, Z.W.; Zhao, L.L. Arithmetic theory of harmonic numbers (II). Colloq. Math. 2013, 130, 67–78, [arXiv:math.NT/0911.4433]. [Google Scholar] [CrossRef]
  9. de Moura, L.; Ullrich, S. The Lean 4 Theorem Prover and Programming Language. In Proceedings of the Automated Deduction – CADE 28, 2021; Springer; pp. 625–635. [Google Scholar]
  10. The mathlib Community. Lean Math. Libr. 2020, arXiv:cs.LO/1910.09336.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings