Number System

Primitive Pythagorean Triple

A tiled right triangle has three differently colored sides.

Primitive Pythagorean Triple definition

A primitive Pythagorean triple is a triple of positive integers a, b, c with a² + b² = c² and greatest common divisor 1.

In Spanish
terna pitagórica primitiva
Topic
Integer equations and number theory

Primitive Pythagorean Triple in a picture

Primitive Pythagorean Triple diagramThe triple (3, 4, 5) is primitive, while (6, 8, 10) has common factor 2.Check the square equation3² + 4² = 5²Check the common divisorgcd(3, 4, 5) = 1Classify the tripleIt is primitive
The triple (3, 4, 5) is primitive, while (6, 8, 10) has common factor 2.

How it works

The triple gives integer side lengths of a right triangle and cannot be obtained by multiplying a smaller integer triple by a whole number greater than one. The formulas m² − n², 2mn, m² + n² give primitive triples when m > n are positive, coprime, and of opposite parity.

Worked examples

Is (5, 12, 13) primitive?

Yes. The squares satisfy the equation and the gcd is 1.

Reduce (9, 12, 15) to a primitive triple.

Divide every side by 3 to get (3, 4, 5).

Generate a triple using m = 3 and n = 2.

The sides are 5, 12, and 13.

Common mistake

Check both the square equation and the common factor. A gcd of 1 alone does not make a triple Pythagorean.

Quick check

Which is a primitive Pythagorean triple?

What is the longest side called?

Show answer

The hypotenuse.

Can both legs in a primitive triple be odd?

Show answer

No. Their squared sum would be 2 modulo 4, which is not a square residue.

Sources

Flashcard

Primitive Pythagorean Triple

Reveal the definition

A primitive Pythagorean triple is a triple of positive integers a, b, c with a² + b² = c² and greatest common divisor 1.

Effortless Math. “Primitive Pythagorean Triple.” Math Dictionary.