Converse of Wolstenholme's Theorem: Prime-Power Elimination for Cofactors 2≤m≤1402 \le m \le 140 and Search to 2×10132 \times 10^{13}

Visual overview from the paper. Full size
Edition 3 · On this site since · Verify & co-author
Kind
Theorem (Lean 4 + Mathlib proof and exact computational checks)
Status
Proved and partially verified in Lean 4 + Mathlib (9 of 10 unconditional main results plus 1 conditional in Lean, 280 audited declarations, zero sorry, zero native_decide, standard axioms only); unrefereed
Headline in Lean
Partially verified in Lean 4 + Mathlib (9/10 unconditional main results in pure-kernel Lean 4 across `lean/WolstenholmeConversePrimePowers/`; 1 of 10 conditional on external hypothesis (Cor. 2 (Booker et al. (2022) Wolstenholme bound below 10¹¹)); 1 abstract-only outside pure Lean (Prop. 45 (written))).
Lean share
9 of 10 unconditional main results in Lean (90%) (+ 1 conditional in Lean) · 7 of 8 abstract claims (88%) · 44 of 45 all paper claims (98%); 1 of 10 conditional on external hypothesis (Cor. 2 (Booker et al. (2022) Wolstenholme bound below 10¹¹)); 1 abstract-only outside pure Lean (Prop. 45 (written))
Preprint DOI
10.5281/zenodo.24739839 (Zenodo / CERN preprint, v3: 10.5281/zenodo.24739840)
Prior work
Not found in the searches logged; credited prior work includes R. J. McIntosh, "On the converse of Wolstenholme's Theorem", Acta Arithmetica 71 (1995), no. 4, 381--389
On this page
  1. The statement
  2. Check it yourself
  3. Status and who checked it
  4. Prior work
  5. Further reading

The statement

For n≥2n \ge 2, write w(n)=(2n−1n−1)w(n) = \binom{2n-1}{n-1} and let (Cr)(C_r) denote w(n)≡1(modnr)w(n) \equiv 1 \pmod{n^r}. Primes p≥5p \ge 5 satisfy (C3)(C_3); no composite solution is known. We prove Jacobsthal's congruence w(n)≡w(n/p)(modp3a)w(n) \equiv w(n/p) \pmod{p^{3a}} (p≥5p \ge 5), its p=3p = 3 analogue modulo 33a−13^{3a-1}, and prime-power reductions modulo p6p^6. Using 647 Pocklington certificates (to 72 digits) and 384 large-prime checks (p>2mp > 2m), we classify composites with a prime divisor having cofactor m∈[2,140]m \in [2,\allowbreak 140]: (C1)(C_1) holds if and only if n=27,173n = 27,\allowbreak 173, while (C2)(C_2) and (C3)(C_3) fail. Conditionally on Wolstenholme-prime searches below 101110^{11}, composite prime powers pkp^k (k≥2k \ge 2, p<1011p < 10^{11}) fail (C3)(C_3) and pass (C2)(C_2) if and only if k=2k = 2 and p∈{16,843,2,124,679}p \in \{16,\allowbreak 843,\allowbreak 2,\allowbreak 124,\allowbreak 679\}. Pure-kernel Lean 4 proves 9 of 10 main results unconditionally (and the tenth conditionally; 43 of 44 unconditional theorems; 280 of 280 declarations). Outside Lean, two searches agree on (1,2×1013](1,\allowbreak 2 \times 10^{13}], recomputing composite counts to 101210^{12} and excluding (C3)(C_3) composites there.

Check it yourself

  • Replay from the archive: the downloadable archive (checker.zip) holds the script papers/wolstenholme-converse-prime-powers/draft3/compute.py, but it was not run to completion from the archive alone, because it reads files that are not in the download. To check the Lean proofs, build lean/WolstenholmeConversePrimePowers/ in Lean 4.
  • Lean 4 kernel verification: the archive contains the Lean 4 sources (lean/WolstenholmeConversePrimePowers/), axiom audit output, and trust-boundary manifest linking every paper claim to its Lean declaration.

Status and who checked it

  • Verified in Lean 4 + Mathlib. Verified in Lean 4 + Mathlib (280 audited declarations, zero sorry, zero native_decide, standard axioms only, library lean/WolstenholmeConversePrimePowers/): 9 of 10 unconditional main results plus 1 conditional in Lean proved in the pure Lean kernel.
  • Unrefereed. All automated manuscript, citation, and statement-fidelity checks passed on the 9-page preprint. No human mathematician has yet refereed the proof.

Prior work

Searches run. Prior-work searches and full-text citation checks were logged alongside the preprint. The result was not found in the searches logged.

Credited. R. J. McIntosh, "On the converse of Wolstenholme's Theorem", Acta Arithmetica 71 (1995), no. 4, 381--389; V. Trevisan and K. E. Weber, "Testing the converse of Wolstenholme's theorem", Matemática Contemporânea 21 (2001), 275--286; C. Helou and G. Terjanian, "On Wolstenholme's theorem and its converse", J. Number Theory 128 (2008), 475--499; K. A. Broughan, F. Luca, and I. E. Shparlinski, "Some Divisibility Properties of Binomial Coefficients and the Converse of Wolstenholme's Theorem", Integers 10 (2010), #A41, 485--495; R. Meštrović, "Wolstenholme's theorem: Its generalizations and extensions in the last hundred and fifty years (1862--2012)", preprint (2011); A. Robert and M. Zuber, "The Kazandzidis supercongruences. A simple proof and an application", Rend. Sem. Mat. Univ. Padova 94 (1995), 235--243; A. Granville, "Arithmetic properties of binomial coefficients. I. Binomial coefficients modulo prime powers", in Organic Mathematics (Burnaby, BC, 1995), CMS Conf. Proc. 20, Amer. Math. Soc. (1997), 253--276; J. Sondow, "Extending Babbage's (non-)primality tests", in Combinatorial and Additive Number Theory II (CANT 2015 and 2016), Springer Proc. Math. Stat. 220 (2017), 269--277 (online 2018; arXiv:1812.07650).

Still owed. MathSciNet, zbMATH, books in print, and paywalled journal articles not reachable in open-access full text.

Further reading

  • R. J. McIntosh, "On the converse of Wolstenholme's Theorem", Acta Arithmetica 71 (1995), no. 4, 381--389
  • V. Trevisan and K. E. Weber, "Testing the converse of Wolstenholme's theorem", Matemática Contemporânea 21 (2001), 275--286
  • C. Helou and G. Terjanian, "On Wolstenholme's theorem and its converse", J. Number Theory 128 (2008), 475--499
  • K. A. Broughan, F. Luca, and I. E. Shparlinski, "Some Divisibility Properties of Binomial Coefficients and the Converse of Wolstenholme's Theorem", Integers 10 (2010), #A41, 485--495
  • R. Meštrović, "Wolstenholme's theorem: Its generalizations and extensions in the last hundred and fifty years (1862--2012)", preprint (2011)
  • A. Robert and M. Zuber, "The Kazandzidis supercongruences. A simple proof and an application", Rend. Sem. Mat. Univ. Padova 94 (1995), 235--243
  • A. Granville, "Arithmetic properties of binomial coefficients. I. Binomial coefficients modulo prime powers", in Organic Mathematics (Burnaby, BC, 1995), CMS Conf. Proc. 20, Amer. Math. Soc. (1997), 253--276
  • J. Sondow, "Extending Babbage's (non-)primality tests", in Combinatorial and Additive Number Theory II (CANT 2015 and 2016), Springer Proc. Math. Stat. 220 (2017), 269--277 (online 2018; arXiv:1812.07650)
  • S. Hussein, "explicit conjecture related to a conjecture of McIntosh", preprint (2018)
  • S. Hussein, "A note on the converse of Wolstenholme's Theorem", Integers 18 (2018), #A94
  • A. R. Booker, S. Hathi, M. J. Mossinghoff, and T. S. Trudgian, "Wolstenholme and Vandiver primes", Ramanujan J. 58 (2022), 913--941
  • D. Yaqubi and M. Mirzavaziri, "explicit results on Wolstenholme's theorem and its applications", Math. Soc. (Isfahan) 10 (2025), no. 4, 105--131
Short

Watch on YouTube ↗