answersLogoWhite

0


Best Answer

There are many different methods: the simpler methods will generate lots of triplets but not all. Comprehensive generators tend to be very complex.

So here is a simple one: Euclid's formula

Take any two positive integers x and y and suppose x > y. Then

A = x2 - y2

B = 2xy

C = x2 + y2

form a Pythagorean triplet.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you generate pythagorean triples?
Write your answer...
Submit
Still have questions?
magnify glass
imp