Size and counting bounds for Giuga-Agoh counterexamples, after Borwein, Hughes, Luca, Pomerance and Shparlinski
Version 1 / Dec 03, 2026 / CC0 1.0
Abstract
Borwein and his coauthors used incompatible pairs of primes to bound the size of a counterexample to Giuga’s primality conjecture. Hughes obtained bounds of 8,138 prime divisors and 40,748 decimal digits. By imposing the cofactor congruences on a weighted prime set, we prove that a counterexample exceeds 10^43750 and has a prime divisor greater than 475000. The calculation uses integer flows and Euclidean division. We also bound the count through x by √x exp(−c log x log₃x/log₂x) for every c<1/2. An elementary argument bounds the count satisfying either of the two weaker signed reciprocal congruences by O(√x). We give the simultaneous fixed-prime construction and its limitations. GPT-6 Astra (OpenAI), ChatGPT Pro mode produced the text, proof checks and computations. No human has checked the work.
Provenance statement
Tools used
- OpenAI
- GPT-6 Astra (ChatGPT Pro mode)
- Anthropic
- Claude Opus 5.5 (effort max)
References
- L. Alpöge, A remark on the Riemann hypothesis , 20 November 2026, p. 1. https://alpo.ge/remark.pdf. For all Dirichlet characters see Riemann hypothesis , LFunction_eq_zero_re and LFunction_ne_zero_of_half_lt_re , https://github.com/leanprover-community/riemann-hypothesis.link
- Y. Lamzouri, X. Li and K. Soundararajan, Conditional bounds for the least quadratic non-residue and related problems , Math. Comp. 84 (2015), 2391--2412, with corrected arXiv:1309.3595.arXiv
- T. Agoh, On Giuga's conjecture , Manuscripta Math. 87 (1995), 501--510.
- G. Giuga, Su una presumibile proprietà caratteristica dei numeri primi , Ist. Lombardo Rend. Sci. 83 (1950), 511--528.
- D. Borwein, J. M. Borwein, P. B. Borwein and R. Girgensohn, Giuga's conjecture on primality , Amer. Math. Monthly 103 (1996), 40--50. DOI 10.1080/00029890.1996.12004697.DOI
- J. B. Rosser and L. Schoenfeld, Approximate formulas for some functions of prime numbers , Illinois J. Math. 6 (1962), 64--94, Corollary 1, (3.5)--(3.6).
- S. Sodin, The classical moment problem , Queen Mary University of London lecture notes, 5 March 2019, Theorem 2.8, Remark 2.10 and Corollary 2.12.
- W. Butske, L. M. Jaje and D. R. Mayernik, On the equation , pseudoperfect numbers, and perfectly weighted graphs , Math. Comp. 69 (2000), 407--420.
- S. Barmase and Gemini 4 Neon, Dual-LP certified lower bounds and spectral matrix invariants for Giuga's primality conjecture , 25 Nov. 2026, Thm. 1.1, Section 3. DOI 10.5281/zenodo.24539270.DOI
- J. Böhm, W. Decker, C. Fieker and G. Pfister, The use of bad primes in rational reconstruction , Math. Comp. 84 (2015), 3013--3027. DOI 10.1090/mcom/2951.DOI
Show all 22 referencesShow fewer references
- J. Borwein, C. Maitland and M. Skerritt, Computation of an improved lower bound to Giuga's primality conjecture , Integers 13 (2013), A67.
- D. Burns and M. Flach, On the equivariant Tamagawa number conjecture for Tate motives, Part II , Doc. Math., Extra Volume (2006), 133--163.
- M. Flach, On the cyclotomic main conjecture for the prime 2 , J. reine angew. Math. 661 (2011), 1--36.
- T. B. Hughes, How many prime factors could a counterexample to Giuga's conjecture have? , edition 6, 29 Nov. 2026, Thms. 2--6. https://mathdiscoveries.org/results/giuga.link
- B. C. Kellner, The equivalence of Giuga's and Agoh's conjectures , arXiv:math/0409259, 2004.arXiv
- D. Larsen, Carmichael numbers in all possible arithmetic progressions , arXiv:2504.09056v2, 2025.arXiv
- M. Á. López, Idempotence in Carmichael and Giuga numbers and its application to the Agoh--Giuga conjecture , arXiv:2610.09129, 2026.arXiv
- F. Luca, C. Pomerance and I. Shparlinski, On Giuga numbers , Int. J. Mod. Math. 4 (2009), 13--18.
- J. S. Milne, Arithmetic Duality Theorems , 2nd ed., BookSurge, 2006.
- D. Phillips, An odd Giuga sequence, the Brenton--Hill equation with , and Borwein et al.'s Giuga problems , 2026, formalization and explicit sequence. https://github.com/duggiephresh/palomar-giuga-sequences.link
- P. Pollack, Small values of Carmichael's -function , Int. Math. Res. Not. 2026, no. 19, rnag224.
- C. A. Weibel, The -book: an introduction to algebraic -theory , Graduate Studies in Mathematics 145, AMS, 2013, Chapter VI.
Version history
- v1 · 17 pagesSubmitted by Floris AlderliefsteEvery composite n with sum_{j<n} j^(n-1) = -1 mod n has n > 10^43750 and largest prime factor > 475000 (Theorem 1.1); the count up to x is << sqrt(x) exp(-c log x log_3 x / log_2 x) for every c < 1/2 (Theorem 1.2); the signed weak reciprocal congruences have O(sqrt(x)) solutions (Theorem 1.3). No priority claim. Checks: GPT-6 Astra (ChatGPT Pro mode): statement-only reconstructions and a separate referee; Claude Opus 5.5 at effort max: the readings and own programs named in the closing paragraph. No human has checked it; nothing is formalized. Records: https://github.com/KokunoYumeto/number-theory-and-combinatorics-workbenchCurrentDec 03, 2026