Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Pythagorean prime

From Wikipedia, the free encyclopedia
Prime number congruent to 1 mod 4
"Pythagorean number" redirects here. For the field invariant related to sums of squares, seePythagoras number. For elements of extension fields containing square roots of sums of squares, seePythagorean field.
The Pythagorean prime 5 and its square root are both hypotenuses ofright 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.

APythagorean prime is aprime number of theform4n+1{\displaystyle 4n+1}. Pythagorean primes are exactly the odd prime numbers that are the sum of two squares; this characterization isFermat's theorem on sums of two squares.

Equivalently, by thePythagorean theorem, they are the odd prime numbersp{\displaystyle p} for whichp{\displaystyle {\sqrt {p}}} is the length of thehypotenuse of aright triangle with integer legs, and they are also the prime numbersp{\displaystyle p} for whichp{\displaystyle p} itself is the hypotenuse of a primitivePythagorean triangle. For instance, the number 5 is a Pythagorean prime;5{\displaystyle {\sqrt {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

[edit]

The first few Pythagorean primes are

5,13,17,29,37,41,53,61,73,89,97,101,109,113, ... (sequenceA002144 in theOEIS).

ByDirichlet's theorem on arithmetic progressions, this sequence is infinite. More strongly, for eachn{\displaystyle n}, the numbers of Pythagorean and non-Pythagorean primes up ton{\displaystyle n} are approximately equal. However, the number of Pythagorean primes up ton{\displaystyle n} is frequently somewhat smaller than the number of non-Pythagorean primes; this phenomenon is known asChebyshev's bias.[1] For example, the only values ofn{\displaystyle n} up to 600,000 for which there are more Pythagorean than non-Pythagorean odd primes less than or equal to n are 26861and 26862.[2]

Representation as a sum of two squares

[edit]

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

By using thePythagorean theorem, this representation can be interpreted geometrically: the Pythagorean primes are exactly the odd prime numbersp{\displaystyle p} such that there exists aright triangle, with integer legs, whosehypotenuse haslengthp{\displaystyle {\sqrt {p}}}. They are also exactly the prime numbersp{\displaystyle p} such that there exists a right triangle with integer sides whose hypotenuse haslengthp{\displaystyle p}. For, if the triangle with legsx{\displaystyle x} andy{\displaystyle y} has hypotenuse lengthp{\displaystyle {\sqrt {p}}} (withx>y{\displaystyle x>y}), then the triangle with legsx2y2{\displaystyle x^{2}-y^{2}} and2xy{\displaystyle 2xy} has hypotenuselengthp{\displaystyle p}.[5]

Another way to understand this representation as a sum of two squares involvesGaussian integers, thecomplex numbers whose real part and imaginary part are bothintegers.[6] The norm of a Gaussian integerx+iy{\displaystyle x+iy} is thenumberx2+y2{\displaystyle x^{2}+y^{2}}. 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 asp=(x+iy)(xiy).{\displaystyle p=(x+iy)(x-iy).}Similarly, their squares can be factored in a different way than theirinteger factorization, asp2=(x+iy)2(xiy)2=(x2y2+2ixy)(x2y22ixy).{\displaystyle {\begin{aligned}p^{2}&=(x+iy)^{2}(x-iy)^{2}\\&=(x^{2}-y^{2}+2ixy)(x^{2}-y^{2}-2ixy).\\\end{aligned}}}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

[edit]

The law ofquadratic reciprocity says that ifp{\displaystyle p} andq{\displaystyle q} are distinct odd primes, at least one of which is Pythagorean, thenp{\displaystyle p} is aquadratic residuemodq{\displaystyle q}if and only ifq{\displaystyle q} is a quadratic residuemodp{\displaystyle p}; by contrast, if neitherp{\displaystyle p} norq{\displaystyle q} is Pythagorean, thenp{\displaystyle p} is a quadratic residuemodq{\displaystyle q} if and only ifq{\displaystyle q} isnot a quadratic residuemodp{\displaystyle p}.[4]

In thefinite fieldZ/p{\displaystyle \mathbb {Z} /p} withp{\displaystyle p} a Pythagorean prime, the polynomial equationx2=1{\displaystyle x^{2}=-1} has two solutions. This may be expressed by saying that1{\displaystyle -1} is a quadratic residuemodp{\displaystyle p}. In contrast, this equation has no solution in the finite fieldsZ/p{\displaystyle \mathbb {Z} /p} wherep{\displaystyle p} is an odd prime but is notPythagorean.[4]

The Paley graph with 13 vertices

For every Pythagorean primep{\displaystyle p}, there exists aPaley graph withp{\displaystyle p} vertices, representing the numbersmodulop{\displaystyle p}, 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 that1{\displaystyle -1} is a quadraticresidue.[7]

References

[edit]
  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. ^abcLeVeque, 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]", inGowers, 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

External links

[edit]
Prime number classes
By formula
By integer sequence
By property
Base-dependent
Patterns
k-tuples
By size
Complex numbers
Composite numbers
Related topics
First 60 primes
Retrieved from "https://en.wikipedia.org/w/index.php?title=Pythagorean_prime&oldid=1328227437"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp