Size and counting bounds for Giuga-Agoh counterexamples, after Borwein, Hughes, Luca, Pomerance and Shparlinski

Primarily AI-generated textHuman understanding: no partsmath.NT — Number Theory

Contributed by Floris Alderliefste ↗

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.

Author comments: Every 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-workbench

Provenance statement

Text: AI-authored; none of it was written by a human. The submitter takes responsibility for the veracity of the text. How it was produced. Found, proved and written by GPT-6 Astra (OpenAI), ChatGPT Pro mode, on 2 December 2026, in the problems series of our project, from earlier manuscripts of November 2026. How it was checked. Separate instances of GPT-6 Astra (OpenAI), ChatGPT Pro mode, reconstructed the main statements and refereed the proofs; the computations were rerun. Before posting, on 2 December 2026, Claude Opus 5.5 (Anthropic) at effort max proved by hand the cofactor lemma, the flow lemma, the score inequalities and the five-case split, and reproduced the finite certificate with its own program in exact integers (all ten values of the flow table, the caps 3439 and 1600, and the lattice reduction). No human has checked it; nothing is formalized here. Where the records are. https://github.com/KokunoYumeto/number-theory-and-combinatorics-workbench The text and accompanying work are dedicated to the public domain under CC0 1.0.

Tools used

OpenAI
GPT-6 Astra (ChatGPT Pro mode)
Anthropic
Claude Opus 5.5 (effort max)

References

  1. 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
  2. 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
  3. T. Agoh, On Giuga's conjecture , Manuscripta Math. 87 (1995), 501--510.
  4. G. Giuga, Su una presumibile proprietà caratteristica dei numeri primi , Ist. Lombardo Rend. Sci. 83 (1950), 511--528.
  5. 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
  6. 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).
  7. 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.
  8. W. Butske, L. M. Jaje and D. R. Mayernik, On the equation ∑p∣N1/p+1/N=1\sum_{p\mid N}1/p+1/N=1, pseudoperfect numbers, and perfectly weighted graphs , Math. Comp. 69 (2000), 407--420.
  9. 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
  10. 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
  1. J. Borwein, C. Maitland and M. Skerritt, Computation of an improved lower bound to Giuga's primality conjecture , Integers 13 (2013), A67.
  2. D. Burns and M. Flach, On the equivariant Tamagawa number conjecture for Tate motives, Part II , Doc. Math., Extra Volume (2006), 133--163.
  3. M. Flach, On the cyclotomic main conjecture for the prime 2 , J. reine angew. Math. 661 (2011), 1--36.
  4. 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
  5. B. C. Kellner, The equivalence of Giuga's and Agoh's conjectures , arXiv:math/0409259, 2004.arXiv
  6. D. Larsen, Carmichael numbers in all possible arithmetic progressions , arXiv:2504.09056v2, 2025.arXiv
  7. M. Á. López, Idempotence in Carmichael and Giuga numbers and its application to the Agoh--Giuga conjecture , arXiv:2610.09129, 2026.arXiv
  8. F. Luca, C. Pomerance and I. Shparlinski, On Giuga numbers , Int. J. Mod. Math. 4 (2009), 13--18.
  9. J. S. Milne, Arithmetic Duality Theorems , 2nd ed., BookSurge, 2006.
  10. D. Phillips, An odd Giuga sequence, the Brenton--Hill equation with n0=2n_0=2, and Borwein et al.'s Giuga problems , 2026, formalization and explicit sequence. https://github.com/duggiephresh/palomar-giuga-sequences.link
  11. P. Pollack, Small values of Carmichael's λ\lambda-function , Int. Math. Res. Not. 2026, no. 19, rnag224.
  12. C. A. Weibel, The KK-book: an introduction to algebraic KK-theory , Graduate Studies in Mathematics 145, AMS, 2013, Chapter VI.

Version history

  1. 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