Pythagorean prime

Last updated
The Pythagorean prime 5 and its square root are both hypotenuses of right triangles with integer legs. The formulas show how to transform any right triangle with integer legs into another right triangle with integer legs whose hypotenuse is the square of the first triangle's hypotenuse. Squared right triangle.svg
The Pythagorean prime 5 and its square root are both hypotenuses of right triangles with integer legs. The formulas show how to transform any right triangle with integer legs into another right triangle with integer legs whose hypotenuse is the square of the first triangle's hypotenuse.

A Pythagorean prime is a prime number of the form . Pythagorean primes are exactly the odd prime numbers that are the sum of two squares; this characterization is Fermat's theorem on sums of two squares.

Contents

Equivalently, by the Pythagorean theorem, they are the odd prime numbers for which is the length of the hypotenuse of a right triangle with integer legs, and they are also the prime numbers for which itself is the hypotenuse of a primitive Pythagorean triangle. For instance, the number 5 is a Pythagorean prime; 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 , the numbers of Pythagorean and non-Pythagorean primes up to are approximately equal. However, the number of Pythagorean primes up to is frequently somewhat smaller than the number of non-Pythagorean primes; this phenomenon is known as Chebyshev's bias. [1] For example, the only values of up to 600000 for which there are more Pythagorean than non-Pythagorean odd primes less than or equal to n are 26861 and 26862. [2]

Representation as a sum of two squares

The sum of one odd square and one even square is congruent to 1 mod 4, but there exist composite numbers such as 21 that are 1 mod 4 and yet cannot be represented as sums of two squares. Fermat's theorem on sums of two squares states that the prime numbers that can be represented as sums of two squares are exactly 2 and the odd primes congruent to 1 mod 4. [3] The representation of each such number is unique, up to the ordering of the two squares. [4]

By using the Pythagorean theorem, this representation can be interpreted geometrically: the Pythagorean primes are exactly the odd prime numbers such that there exists a right triangle, with integer legs, whose hypotenuse has length . They are also exactly the prime numbers such that there exists a right triangle with integer sides whose hypotenuse has length . For, if the triangle with legs and has hypotenuse length (with ), then the triangle with legs and has hypotenuse length . [5]

Another way to understand this representation as a sum of two squares involves Gaussian integers, the complex numbers whose real part and imaginary part are both integers. [6] The norm of a Gaussian integer is the number . Thus, the Pythagorean primes (and 2) occur as norms of Gaussian integers, while other primes do not. Within the Gaussian integers, the Pythagorean primes are not considered to be prime numbers, because they can be factored as

Similarly, their squares can be factored in a different way than their integer factorization, as

The real and imaginary parts of the factors in these factorizations are the leg lengths of the right triangles having the given hypotenuses.

Quadratic residues

The law of quadratic reciprocity says that if and are distinct odd primes, at least one of which is Pythagorean, then is a quadratic residue mod if and only if is a quadratic residue mod ; by contrast, if neither nor is Pythagorean, then is a quadratic residue mod if and only if is not a quadratic residue mod . [4]

In the finite field with a Pythagorean prime, the polynomial equation has two solutions. This may be expressed by saying that is a quadratic residue mod . In contrast, this equation has no solution in the finite fields where is an odd prime but is not Pythagorean. [4]

The Paley graph with 13 vertices Paley13.svg
The Paley graph with 13 vertices

For every Pythagorean prime , there exists a Paley graph with vertices, representing the numbers modulo , with two numbers adjacent in the graph if and only if their difference is a quadratic residue. This definition produces the same adjacency relation regardless of the order in which the two numbers are subtracted to compute their difference, because of the property of Pythagorean primes that is a quadratic residue. [7]

Related Research Articles

<span class="mw-page-title-main">Pythagorean triple</span> Integer side lengths of a right triangle

A Pythagorean triple consists of three positive integers a, b, and c, such that a2 + b2 = c2. Such a triple is commonly written (a, b, c), and a well-known example is (3, 4, 5). If (a, b, c) is a Pythagorean triple, then so is (ka, kb, kc) for any positive integer k. A primitive Pythagorean triple is one in which a, b and c are coprime (that is, they have no common divisor larger than 1). For example, (3, 4, 5) is a primitive Pythagorean triple whereas (6, 8, 10) is not. A triangle whose sides form a Pythagorean triple is called a Pythagorean triangle, and is necessarily a right triangle.

<span class="mw-page-title-main">Quadratic reciprocity</span> Gives conditions for the solvability of quadratic equations modulo prime numbers

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:

<span class="mw-page-title-main">Square root</span> Number whose square is a given number

In mathematics, a square root of a number x is a number y such that ; in other words, a number y whose square is x. For example, 4 and −4 are square roots of 16 because .

<span class="mw-page-title-main">Gaussian integer</span> Complex number whose real and imaginary parts are both integers

In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written as or

<span class="mw-page-title-main">Factorization</span> (Mathematical) decomposition into a product

In mathematics, factorization (or factorisation, see English spelling differences) or factoring consists of writing a number or another mathematical object as a product of several factors, usually smaller or simpler objects of the same kind. For example, 3 × 5 is an integer factorization of 15, and (x – 2)(x + 2) is a polynomial factorization of x2 – 4.

In algebraic number theory, an algebraic integer is a complex number which is integral over the integers. That is, an algebraic integer is a complex root of some monic polynomial whose coefficients are integers. The set of all algebraic integers A is closed under addition, subtraction and multiplication and therefore is a commutative subring of the complex numbers.

In number theory, Euler's criterion is a formula for determining whether an integer is a quadratic residue modulo a prime. Precisely,

In number theory, an integer q is called a quadratic residue modulo n if it is congruent to a perfect square modulo n; i.e., if there exists an integer x such that:

In mathematics, a proof by infinite descent, also known as Fermat's method of descent, is a particular kind of proof by contradiction used to show that a statement cannot possibly hold for any number, by showing that if the statement were to hold for a number, then the same would be true for a smaller number, leading to an infinite descent and ultimately a contradiction. It is a method which relies on the well-ordering principle, and is often used to show that a given equation, such as a Diophantine equation, has no solutions.

In number theory, quadratic Gauss sums are certain finite sums of roots of unity. A quadratic Gauss sum can be interpreted as a linear combination of the values of the complex exponential function with coefficients given by a quadratic character; for a general character, one obtains a more general Gauss sum. These objects are named after Carl Friedrich Gauss, who studied them extensively and applied them to quadratic, cubic, and biquadratic reciprocity laws.

In additive number theory, Fermat's theorem on sums of two squares states that an odd prime p can be expressed as:

<span class="mw-page-title-main">Special right triangle</span> Right triangle with a feature making calculations on the triangle easier

A special right triangle is a right triangle with some regular feature that makes calculations on the triangle easier, or for which simple formulas exist. For example, a right triangle may have angles that form simple relationships, such as 45°–45°–90°. This is called an "angle-based" right triangle. A "side-based" right triangle is one in which the lengths of the sides form ratios of whole numbers, such as 3 : 4 : 5, or of other special numbers such as the golden ratio. Knowing the relationships of the angles or ratios of sides of these special right triangles allows one to quickly calculate various lengths in geometric problems without resorting to more advanced methods.

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 x4p is solvable; the word "reciprocity" comes from the form of some of these theorems, in that they relate the solvability of the congruence x4p to that of x4q.

<span class="mw-page-title-main">Pythagorean theorem</span> Relation between sides of a right triangle

In mathematics, the Pythagorean theorem or Pythagoras' theorem is a fundamental relation in Euclidean geometry between the three sides of a right triangle. It states that the area of the square whose side is the hypotenuse is equal to the sum of the areas of the squares on the other two sides.

<span class="mw-page-title-main">Integer triangle</span> Triangle with integer side lengths

An integer triangle or integral triangle is a triangle all of whose side lengths are integers. A rational triangle is one whose side lengths are rational numbers; any rational triangle can be rescaled by the lowest common denominator of the sides to obtain a similar integer triangle, so there is a close relationship between integer triangles and rational triangles.

<span class="mw-page-title-main">Fermat's right triangle theorem</span> Rational right triangles cannot have square area

Fermat's right triangle theorem is a non-existence proof in number theory, published in 1670 among the works of Pierre de Fermat, soon after his death. It is the only complete proof given by Fermat. It has several equivalent formulations, one of which was stated in 1225 by Fibonacci. In its geometric forms, it states:

In mathematics, statistics and elsewhere, sums of squares occur in a number of contexts:

<span class="mw-page-title-main">Automedian triangle</span>

In plane geometry, an automedian triangle is a triangle in which the lengths of the three medians are proportional to the lengths of the three sides, in a different order. The three medians of an automedian triangle may be translated to form the sides of a second triangle that is similar to the first one.

References

  1. Rubinstein, Michael; Sarnak, Peter (1994), "Chebyshev's bias", Experimental Mathematics , 3 (3): 173–197, doi:10.1080/10586458.1994.10504289
  2. Granville, Andrew; Martin, Greg (January 2006), "Prime number races" (PDF), The American Mathematical Monthly , 113 (1): 1--33, doi:10.2307/27641834, JSTOR   27641834
  3. Stewart, Ian (2008), Why Beauty is Truth: A History of Symmetry, Basic Books, p. 264, ISBN   9780465082377
  4. 1 2 3 LeVeque, William Judson (1996), Fundamentals of Number Theory, Dover, pp. 100, 103, 183, ISBN   9780486689067
  5. Stillwell, John (2003), Elements of Number Theory, Undergraduate Texts in Mathematics, Springer, p. 112, ISBN   9780387955872
  6. Mazur, Barry (2010), "Algebraic numbers [IV.I]", in Gowers, Timothy (ed.), The Princeton Companion to Mathematics , Princeton University Press, pp. 315–332, ISBN   9781400830398 See in particular section 9, "Representations of Prime Numbers by Binary Quadratic Forms", p. 325.
  7. Chung, Fan R. K. (1997), Spectral Graph Theory, CBMS Regional Conference Series, vol. 92, American Mathematical Society, pp. 97–98, ISBN   9780821889367