O'Reilly logo

NumPy Cookbook - Second Edition by Ivan Idris

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Finding Pythagorean triples

For this tutorial, you may need to read the Wikipedia page about Pythagorean triple (http://en.wikipedia.org/wiki/Pythagorean_triple). A Pythagorean triple is a set of three natural numbers, a < b < c, for which Finding Pythagorean triples.

Here is an example of Pythagorean triples: Finding Pythagorean triples.

Pythagorean triples are closely related to the Pythagorean Theorem, which you have probably learned in high-school geometry.

Pythagorean triples represent the three sides of a right triangle and therefore obey the Pythagorean Theorem. Let's find the Pythagorean triple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required