Pythagorean triple

From testwiki
Revision as of 16:07, 8 December 2024 by imported>Pinplaybloxorwiki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In mathematics, a Pythagorean triple is a set of three positive integers which satisfy the equation (make the equation work):

a2+b2=c2

This equation is known as the Diophantine equation, and is related to Pythagoras' theorem. The lowest Pythagorean triple is [3, 4, 5] because:

32+42=9+16=25=52
So, 32+42=52

The next highest triple is [5, 12, 13] then [7, 24, 25], and so on. There is an infinite number of Pythagorean triples.

A Pythagorean triple always consists of:

• all even numbers, or

• two odd numbers and an even number.

A Pythagorean triple can never be made up of all odd numbers or two even numbers and one odd number.

Template:Math-stub