Pythagorean prime
A Pythagorean prime is a prime number of the form [math]\displaystyle{ 4n+1 }[/math]. 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.
Equivalently, by the Pythagorean theorem, they are the odd prime numbers [math]\displaystyle{ p }[/math] for which [math]\displaystyle{ \sqrt p }[/math] is the length of the hypotenuse of a right triangle with integer legs, and they are also the prime numbers [math]\displaystyle{ p }[/math] for which [math]\displaystyle{ p }[/math] itself is the hypotenuse of a primitive Pythagorean triangle. For instance, the number 5 is a Pythagorean prime; [math]\displaystyle{ \sqrt5 }[/math] 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
By Dirichlet's theorem on arithmetic progressions, this sequence is infinite. More strongly, for each [math]\displaystyle{ n }[/math], the numbers of Pythagorean and non-Pythagorean primes up to [math]\displaystyle{ n }[/math] are approximately equal. However, the number of Pythagorean primes up to [math]\displaystyle{ n }[/math] 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 [math]\displaystyle{ n }[/math] 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 [math]\displaystyle{ p }[/math] such that there exists a right triangle, with integer legs, whose hypotenuse has length [math]\displaystyle{ \sqrt p }[/math]. They are also exactly the prime numbers [math]\displaystyle{ p }[/math] such that there exists a right triangle with integer sides whose hypotenuse has length [math]\displaystyle{ p }[/math]. For, if the triangle with legs [math]\displaystyle{ x }[/math] and [math]\displaystyle{ y }[/math] has hypotenuse length [math]\displaystyle{ \sqrt p }[/math] (with [math]\displaystyle{ x\gt y }[/math]), then the triangle with legs [math]\displaystyle{ x^2-y^2 }[/math] and [math]\displaystyle{ 2xy }[/math] has hypotenuse length [math]\displaystyle{ p }[/math].[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 [math]\displaystyle{ x+iy }[/math] is the number [math]\displaystyle{ x^2+y^2 }[/math]. 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 [math]\displaystyle{ p=(x+iy)(x-iy). }[/math] Similarly, their squares can be factored in a different way than their integer factorization, as [math]\displaystyle{ \begin{align} p^2&=(x+iy)^2(x-iy)^2\\ &=(x^2-y^2+2ixy)(x^2-y^2-2ixy).\\ \end{align} }[/math] 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 [math]\displaystyle{ p }[/math] and [math]\displaystyle{ q }[/math] are distinct odd primes, at least one of which is Pythagorean, then [math]\displaystyle{ p }[/math] is a quadratic residue mod [math]\displaystyle{ q }[/math] if and only if [math]\displaystyle{ q }[/math] is a quadratic residue mod [math]\displaystyle{ p }[/math]; by contrast, if neither [math]\displaystyle{ p }[/math] nor [math]\displaystyle{ q }[/math] is Pythagorean, then [math]\displaystyle{ p }[/math] is a quadratic residue mod [math]\displaystyle{ q }[/math] if and only if [math]\displaystyle{ q }[/math] is not a quadratic residue mod [math]\displaystyle{ p }[/math].[4]
In the finite field [math]\displaystyle{ \Z/p }[/math] with [math]\displaystyle{ p }[/math] a Pythagorean prime, the polynomial equation [math]\displaystyle{ x^2=-1 }[/math] has two solutions. This may be expressed by saying that [math]\displaystyle{ -1 }[/math] is a quadratic residue mod [math]\displaystyle{ p }[/math]. In contrast, this equation has no solution in the finite fields [math]\displaystyle{ \Z/p }[/math] where [math]\displaystyle{ p }[/math] is an odd prime but is not Pythagorean.[4]
For every Pythagorean prime [math]\displaystyle{ p }[/math], there exists a Paley graph with [math]\displaystyle{ p }[/math] vertices, representing the numbers modulo [math]\displaystyle{ p }[/math], 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 [math]\displaystyle{ -1 }[/math] is a quadratic residue.[7]
References
- ↑ Rubinstein, Michael; Sarnak, Peter (1994), "Chebyshev's bias", Experimental Mathematics 3 (3): 173–197, doi:10.1080/10586458.1994.10504289
- ↑ "Prime number races", The American Mathematical Monthly 113 (1): 1--33, January 2006, doi:10.2307/27641834, http://www.dms.umontreal.ca/%7Eandrew/PDF/PrimeRace.pdf
- ↑ Why Beauty is Truth: A History of Symmetry, Basic Books, 2008, p. 264, ISBN 9780465082377, https://books.google.com/books?id=6akF1v7Ds3MC&pg=PA264
- ↑ 4.0 4.1 4.2 Fundamentals of Number Theory, Dover, 1996, pp. 100, 103, 183, ISBN 9780486689067, https://books.google.com/books?id=F6aJtNcwyw8C&pg=PA183
- ↑ Elements of Number Theory, Undergraduate Texts in Mathematics, Springer, 2003, p. 112, ISBN 9780387955872, https://books.google.com/books?id=LiAlZO2ntKAC&pg=PA112
- ↑ "Algebraic numbers [IV.I]", The Princeton Companion to Mathematics, Princeton University Press, 2010, pp. 315–332, ISBN 9781400830398 See in particular section 9, "Representations of Prime Numbers by Binary Quadratic Forms", p. 325.
- ↑ Spectral Graph Theory, CBMS Regional Conference Series, 92, American Mathematical Society, 1997, pp. 97–98, ISBN 9780821889367, https://books.google.com/books?id=YUc38_MCuhAC&pg=PA97
External links
- Eaves, Laurence, "Pythagorean Primes: including 5, 13 and 137", Numberphile (Brady Haran), http://www.numberphile.com/videos/pythagorean_primes.html, retrieved 2013-04-02
- OEIS sequence A007350 (Where prime race 4n-1 vs. 4n+1 changes leader)
Original source: https://en.wikipedia.org/wiki/Pythagorean prime.
Read more |