Agoh–Giuga conjecture
Template:Short description In number theory, the Agoh–Giuga conjecture on the Bernoulli numbers postulates that is a prime number if and only if
It is named after Takashi Agoh and Giuseppe Giuga.
Equivalent formulation
The conjecture as stated above is due to Takashi Agoh;Template:Sfnp an equivalent formulation is due to Giuseppe Giuga, from 1950,Template:Sfnp to the effect that is prime if and only if
- ,
which may also be written as
It is trivial to show that being prime is sufficient for the second equivalence to hold, since if is prime, Fermat's little theorem states that
for , and the equivalence follows since
Status
The statement is still a conjecture since it has not yet been proven that if a number is not prime (that is, if is composite), then the formula does not hold. It has been shown that a composite number satisfies the formula if and only if it is both a Carmichael number and a Giuga number, and that if such a number exists, it has at least 13,800 digits.Template:Sfnp In 2001, Sorini showed that a possible counterexample should be greater than 1036067,Template:Sfnp which represents the limit suggested by Bedocchi for the demonstration technique specified by Giuga to his own conjecture.
Relation to Wilson's theorem
The Agoh–Giuga conjecture bears a similarity to Wilson's theorem, which has been proven to be true. Wilson's theorem states that a number is prime if and only if
which may also be written as
For an odd prime we have
and for we have
So, the truth of the Agoh–Giuga conjecture combined with Wilson's theorem gives: a number is prime if and only if
and