Proth's theorem
Appearance
In mathematics, Proth's theorem in number theory is a primality test for Proth numbers.
It states that if p is a Proth number, of the form k2n + 1 with k odd and k < 2n, then if for some integer a,
then p is prime. This is a practical test because if p is prime, any chosen a has about a 50% chance of working.
Numerical examples
The first seven Proth numbers are (sequence A080075 in the OEIS):
- P0 = 21 + 1 = 3
- P1 = 22 + 1 = 5
- P2 = 23 + 1 = 9
- P3 = 3 × 22 + 1 = 13
- P4 = 24 + 1 = 17
- P5 = 3 × 23 + 1 = 25
- P6 = 25 + 1 = 33
Examples of the theorem include:
- for p = 3, 21 plus 1 = 3 is divisible by 3, so 3 is prime.
- for p = 5, 32 plus 1 = 10 is divisible by 5, so 5 is prime.
- for p = 13, 56 plus 1 = 15626 is divisible by 13, so 13 is prime.
- for p = 9, which is not prime, there is no a such that a4 + 1 is divisible by 9.
History
François Proth (1852 - 1879) found the theorem around 1878.