Lably
Skip to content

Pythagorean prime

  • 3 min read
  • 3 chapters

Related on Lably

Through Prime number, Right triangle and 5

Equivalently, by the Pythagorean theorem, they are the odd prime numbers p for which p is the length of the hypotenuse of a right triangle with integer legs, and they are also the prime numbers p for which p itself is the hypotenuse of a primitive Pythagorean triangle. For instance, the number 5 is a Pythagorean prime; 5 is the hypotenuse of a right triangle with legs 1 and 2, and 5 itself is the hypotenuse of a right triangle with legs 3 and 4.

Values and density

The first few Pythagorean primes are

5, 13, 17, 29, 37, 41, 53, 61, 73, 89, 97, 101, 109, 113, ... (sequence A002144 in the OEIS).

By Dirichlet's theorem on arithmetic progressions, this sequence is infinite. More strongly, for each n, the numbers of Pythagorean and non-Pythagorean primes up to n are approximately equal. However, the number of Pythagorean primes up to n is frequently somewhat smaller than the number of non-Pythagorean primes; this phenomenon is known as Chebyshev's bias. For example, the only values of n up to 600000 for which there are more Pythagorean than non-Pythagorean odd primes less than or equal to n are 26861 and 26862.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Topics in mathematics