In number theory, a Giuga number is a composite number n such that for each of its distinct prime factors pi we have pi|(npi−1), or equivalently such that for each of its distinct prime factors pi we have pi2|(n−pi). For example, 30 = 2 × 3 × 5 is a Giuga number since we can verify that:
30/2 − 1 = 14 = 2 × 7, 30/3 − 1 = 9 = 32, and 30/5 − 1 = 5. The Giuga numbers are named after the mathematician Giuseppe Giuga, and relate to his conjecture on primality.
Definitions Alternative definition for a Giuga number due to Takashi Agoh is: a composite number n is a Giuga number if and only if the congruence
nBφ(n)≡−1(modn) holds true, where B is a Bernoulli number and φ(n) is Euler's totient function. An equivalent formulation due to Giuseppe Giuga is: a composite number n is a Giuga number if and only if the congruence
∑i=1n−1iφ(n)≡−1(modn) and if and only if
∑p|n1p−∏p|n1p∈ℕ. All known Giuga numbers n in fact satisfy the stronger condition
∑p|n1p−∏p|n1p=1.
List of numbers Thirteen Giuga numbers are known. The list is complete up to the 12th term and for numbers with 8 or fewer prime factors, but it is unknown if there is a Giuga number between the 12th and 13th terms.
Properties The prime factors of a Giuga number must be distinct. If p2 divides n, then it follows that np−1=m−1, where m=n/p is divisible by p. Hence, m−1 would not be divisible by p, and thus n would not be a Giuga number. Thus, only square-free integers can be Giuga numbers. For example, the factors of 60 are 2, 2, 3 and 5, and 60/2 - 1 = 29, which is not divisible by 2. Thus, 60 is not a Giuga number. This rules out squares of primes, but semiprimes cannot be Giuga numbers either. For if n=p1p2, with p1<p2 primes, then np2−1=p1−1<p2, so p2 will not divide np2−1, and thus n is not a Giuga number.
All known Giuga numbers are even. If an odd Giuga number exists, it must be the product of at least 14 primes. It is not known if there are infinitely many Giuga numbers. It has been conjectured by Paolo P. Lava (2009) that Giuga numbers are the solutions of the differential equation n' = n+1, where n' is the arithmetic derivative of n. (For square-free numbers n=∏ipi, n′=∑inpi, so n' = n+1 is just the last equation in the above section Definitions, multiplied by n.) José Mª Grau and Antonio Oller-Marcén have shown that an integer n is a Giuga number if and only if it satisfies n' = a n + 1 for some integer a > 0, where n' is the arithmetic derivative of n. (Again, n' = a n + 1 is identical to the third equation in Definitions, multiplied by n.)
See also Carmichael number Primary pseudoperfect number Znám's problem
References
Weisstein, Eric W. "Giuga Number". MathWorld. Borwein, D.; Borwein, J. M.; Borwein, P. B.; Girgensohn, R. (1996). "Giuga's Conjecture on Primality" (PDF). American Mathematical Monthly. 103 (1): 40–50. doi:10.2307/2975213. JSTOR 2975213. Zbl 0860.11003. Archived from the original (PDF) on 2005-05-31. Balzarotti, Giorgio; Lava, Paolo P. (2010). Centotre curiosità matematiche. Milan: Hoepli Editore. p. 129. ISBN 978-88-203-4556-3.