Counterexample Bounds for the Agoh–Giuga Conjecture #
Any counterexample to the Agoh–Giuga conjecture must be simultaneously Carmichael and Giuga. We prove structural properties any such counterexample must have:
- It is odd and squarefree (from Carmichael/Giuga properties).
- It has at least 3 prime factors (Carmichael property).
- It has at least 9 prime factors (reciprocal sum argument for odd case).
Key lemma: reciprocal sum bound #
For any odd Giuga number n, the reciprocal sum ∑_{p | n} 1/p > 1.
Since the sum of reciprocals of any 8 distinct odd primes is less than 1,
an odd Giuga number must have at least 9 prime factors.
References #
- Borwein, D., Borwein, J.M., Borwein, P.B., Girgensohn, R. (1996). "Giuga's conjecture on primality". Amer. Math. Monthly, 103(1), 40–50.
Reciprocal sum of Giuga numbers #
For a squarefree Giuga number, n ∣ (∑_{p ∈ primeFactors} n/p - 1).
The proof uses CRT: for each prime factor q, the terms n/p with p ≠ q
vanish mod q (since q ∣ n/p for distinct prime factors of squarefree n),
while n/q ≡ 1 (mod q) by the Giuga condition.
For a Giuga number n, the sum ∑_{p ∈ primeFactors} n/p ≥ n + 1.
Since n ∣ (∑ n/p - 1) and ∑ n/p ≥ 2 (because n/p ≥ 2 for any prime
factor p of the composite n), we have ∑ n/p - 1 ≥ n.
For a Giuga number, the reciprocal sum ∑_{p | n} 1/p > 1.
This follows from ∑ n/p ≥ n + 1: dividing by n gives ∑ 1/p ≥ (n+1)/n > 1.
Odd Giuga numbers have ≥ 9 prime factors #
If n is odd, squarefree, and has at least k prime factors, then n is
at least the product of the first k odd primes.
This generalises first_nine_odd_primes_product_le_of_odd_squarefree_nine_primeFactors
(the k = 9 special case).
Any set of at most 8 distinct odd primes has reciprocal sum < 1.
The i-th smallest element of any set of distinct odd primes is at least the i-th odd prime, so its reciprocal is at most that of the i-th odd prime. The sum of reciprocals of the 8 smallest odd primes {3,5,7,11,13,17,19,23} equals 111429982/111546435 < 1.
Odd Giuga numbers have at least 9 prime factors.
All prime factors of an odd Giuga number are odd primes.
The reciprocal sum exceeds 1 (by one_lt_sum_reciprocals), but any set of
≤ 8 odd primes has reciprocal sum < 1. So there must be ≥ 9 prime factors.
Counterexample structure #
Any counterexample to the Agoh–Giuga conjecture is odd, squarefree, and has at least 9 prime factors.
Lower bounds #
If n is odd, squarefree, and has at least 9 prime factors, then it is at
least the product of the first 9 odd primes.
Numeric corollary of
first_nine_odd_primes_product_le_of_odd_squarefree_nine_primeFactors.
Local lower bound coming from structural constraints already formalized in this project.