In mathematics, a congruence is an equivalence relation on the integers. The following sections list important or interesting prime-related congruences.
special case of Fermat's little theorem, satisfied by all odd prime numbers | |
solutions are called Wieferich primes (smallest example: 1093) | |
satisfied by all prime numbers | |
solutions are called Wall–Sun–Sun primes (no examples known) | |
by Wolstenholme's theorem satisfied by all prime numbers greater than 3 | |
solutions are called Wolstenholme primes (smallest example: 16843) | |
by Wilson's theorem a natural number n is prime if and only if it satisfies this congruence | |
solutions are called Wilson primes (smallest example: 5) | |
solutions are the twin primes |
There are other prime-related congruences that provide necessary and sufficient conditions on the primality of certain subsequences of the natural numbers. Many of these alternate statements characterizing primality are related to Wilson's theorem, or are restatements of this classical result given in terms of other special variants of generalized factorial functions. For instance, new variants of Wilson's theorem stated in terms of the hyperfactorials, subfactorials, and superfactorials are given in. [1]
For integers , we have the following form of Wilson's theorem:
If is odd, we have that
Clement's congruence-based theorem characterizes the twin primes pairs of the form through the following conditions:
P. A. Clement's original 1949 paper [2] provides a proof of this interesting elementary number theoretic criteria for twin primality based on Wilson's theorem. Another characterization given in Lin and Zhipeng's article provides that
The prime pairs of the form for some include the special cases of the cousin primes (when ) and the sexy primes (when ). We have elementary congruence-based characterizations of the primality of such pairs, proved for instance in the article. [3] Examples of congruences characterizing these prime pairs include
and the alternate characterization when is odd such that given by
Still other congruence-based characterizations of the primality of triples, and more general prime clusters (or prime tuples) exist and are typically proved starting from Wilson's theorem (see, for example, Section 3.3 in [4] ).
In number theory, the law of quadratic reciprocity is a theorem about modular arithmetic that gives conditions for the solvability of quadratic equations modulo prime numbers. Due to its subtlety, it has many formulations, but the most standard statement is:
In number theory, Fermat's little theorem states that if p is a prime number, then for any integer a, the number ap − a is an integer multiple of p. In the notation of modular arithmetic, this is expressed as
In mathematics, a Fermat number, named after Pierre de Fermat, the first known to have studied them, is a positive integer of the form
The Jacobi symbol is a generalization of the Legendre symbol. Introduced by Jacobi in 1837, it is of theoretical interest in modular arithmetic and other branches of number theory, but its main use is in computational number theory, especially primality testing and integer factorization; these in turn are important in cryptography.
In number theory, Euler's criterion is a formula for determining whether an integer is a quadratic residue modulo a prime. Precisely,
The Fermat primality test is a probabilistic test to determine whether a number is a probable prime.
In algebra and number theory, Wilson's theorem states that a natural number n > 1 is a prime number if and only if the product of all the positive integers less than n is one less than a multiple of n. That is, the factorial satisfies
In number theory, a Wall–Sun–Sun prime or Fibonacci–Wieferich prime is a certain kind of prime number which is conjectured to exist, although none are known.
In mathematics, the Lucas–Lehmer test (LLT) is a primality test for Mersenne numbers. The test was originally developed by Édouard Lucas in 1878 and subsequently proved by Derrick Henry Lehmer in 1930.
In computational number theory, the Lucas test is a primality test for a natural number n; it requires that the prime factors of n − 1 be already known. It is the basis of the Pratt certificate that gives a concise verification that n is prime.
In mathematics, and more specifically number theory, the hyperfactorial of a positive integer is the product of the numbers of the form from to .
In mathematics, and more specifically number theory, the superfactorial of a positive integer is the product of the first factorials. They are a special case of the Jordan–Pólya numbers, which are products of arbitrary collections of factorials.
The Solovay–Strassen primality test, developed by Robert M. Solovay and Volker Strassen in 1977, is a probabilistic test to determine if a number is composite or probably prime. The idea behind the test was discovered by M. M. Artjuhov in 1967 (see Theorem E in the paper). This test has been largely superseded by the Baillie–PSW primality test and the Miller–Rabin primality test, but has great historical importance in showing the practical feasibility of the RSA cryptosystem. The Solovay–Strassen test is essentially an Euler–Jacobi probable prime test.
Lucas pseudoprimes and Fibonacci pseudoprimes are composite integers that pass certain tests which all primes and very few composite numbers pass: in this case, criteria relative to some Lucas sequence.
In mathematics, Wolstenholme's theorem states that for a prime number , the congruence
In number theory, a branch of mathematics, the Carmichael functionλ(n) of a positive integer n is the smallest positive integer m such that
In additive number theory, Fermat's theorem on sums of two squares states that an odd prime p can be expressed as:
In number theory, the law of quadratic reciprocity, like the Pythagorean theorem, has lent itself to an unusually large number of proofs. Several hundred proofs of the law of quadratic reciprocity have been published.
Quartic or biquadratic reciprocity is a collection of theorems in elementary and algebraic number theory that state conditions under which the congruence x4 ≡ p is solvable; the word "reciprocity" comes from the form of some of these theorems, in that they relate the solvability of the congruence x4 ≡ p to that of x4 ≡ q.
In number theory, the Fermat quotient of an integer a with respect to an odd prime p is defined as
{{cite journal}}
: Cite journal requires |journal=
(help)