ArticleslgStudy

mathematics

Pythagorean prime

Pythagorean prime is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Pythagorean prime rather than just read about it. In short: A Pythagorean prime is a prime number of the form 4 n + 1 {\displaystyle 4n+1} . 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.

Pythagorean prime — main illustration
Pythagorean prime — illustration

Key takeaways

  • Pythagorean prime belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Pythagorean prime to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Pythagorean prime from memory before moving on to harder problems.

Reference excerpt

A Pythagorean prime is a prime number of the form 4 n + 1 {\displaystyle 4n+1} . 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 p {\displaystyle p} for which p {\displaystyle {\sqrt {p}}} is the length of the hypotenuse of a right triangle with integer legs, and they are also the prime numbers p {\displaystyle p} for which p {\displaystyle p} itself is the hypotenuse of a primitive Pythagorean 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 The first few Pythagorean primes are

By Dirichlet's theorem on arithmetic progressions, this sequence is infinite. More strongly, for each n {\displaystyle n} , the numbers of Pythagorean and non-Pythagorean primes up to n {\displaystyle n} are approximately equal. However, the number of Pythagorean primes up to n {\displaystyle 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 {\displaystyle n} up to 600,000 for which there are more Pythagorean than non-Pythagorean odd primes less than or equal to n are 26861 and 26862.

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. The representation of each such number is unique, up to the ordering of the two squares. By using the Pythagorean theorem, this representation can be interpreted geometrically: the Pythagorean primes are exactly the odd prime numbers p {\displaystyle p} such that there exists a right triangle, with integer legs, whose hypotenuse has length p {\displaystyle {\sqrt {p}}} . They are also exactly the prime numbers p {\displaystyle p} such that there exists a right triangle with integer sides whose hypotenuse has length p {\displaystyle p} . For, if the triangle with legs x {\displaystyle x} and y {\displaystyle y} has hypotenuse length p {\displaystyle {\sqrt {p}}} (with x > y {\displaystyle x>y} ), then the triangle with legs x 2 − y 2 {\displaystyle x^{2}-y^{2}} and 2 x y {\displaystyle 2xy} has hypotenuse length p {\displaystyle p} . 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. The norm of a Gaussian integer x + i y {\displaystyle x+iy} is the number x 2 + y 2 {\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 as

p = ( x + i y ) ( x − i y ) . {\displaystyle p=(x+iy)(x-iy).}

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

… excerpt ends here. Continue reading the full article.

Illustrations

Pythagorean prime: 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.
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.
Pythagorean prime: The Paley graph with 13 vertices
The Paley graph with 13 vertices

Worked examples

Example 1 — a first encounter with Pythagorean prime

Start with the simplest possible case. Write down what Pythagorean prime claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Pythagorean prime before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Pythagorean prime ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Pythagorean prime

In research
Pythagorean prime appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Pythagorean prime in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Pythagorean prime is common in secondary-school and first-year university syllabi. It links to neighbouring topics Classes of prime numbers, Squares in number theory, so understanding it makes those chapters shorter.
In everyday life
Look for Pythagorean prime outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Pythagorean prime in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Pythagorean prime means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Pythagorean prime out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Pythagorean prime in simple terms?

A Pythagorean prime is a prime number of the form 4 n + 1 {\displaystyle 4n+1} . 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.

Why does Pythagorean prime matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Pythagorean prime?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Pythagorean prime.

Tags

  • Classes of prime numbers
  • Squares in number theory

Keep exploring