mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2005-01-01, 15:18   #1
Rokas
 

142448 Posts
Default Pythagorean triples

Hi.
Could anyone explain to me what formulae are used to obtain Pythagorean triples? I've heard there're three or four of them.

Thanks
  Reply With Quote
Old 2005-01-01, 17:38   #2
PBMcL
 
PBMcL's Avatar
 
Jan 2005

2×31 Posts
Cool reply - Pythagorean triples

Easiest formula I know is:

Choose integers m, n with m > n > 0. Let x = m^2 - n^2, y = 2mn, and z = m^2 + n^2. Then (x, y, z) satisfies x^2 + y^2 = z^2. For primitive triples (x, y, and z having no common factor), add the conditions gcd(m, n) = 1 and m != n mod 2. I believe all possible triples can be generated this way, but i'm going from memory here.
PBMcL is offline   Reply With Quote
Old 2005-01-01, 18:32   #3
PBMcL
 
PBMcL's Avatar
 
Jan 2005

2×31 Posts
Red face Correction

Ooops - all possible primitive triples.
PBMcL is offline   Reply With Quote
Old 2005-01-02, 03:50   #4
David John Hill Jr
 
David John Hill Jr's Avatar
 
Jun 2003
Pa.,U.S.A.

22·72 Posts
Default one way to see 3 methods.

If I may refer to Heilbron's 'geometry civilized' p151,
as one of the cleanest summaries of pythagorean triplets I've run across.

Set: Generation Triplet
Pythagorean n, any odd number n,n^2-1)/2,(n^2+1)/2
Platonic n, any even number n,(n^2)/4-1.(n^2)4+1
Euclidean x,y any unequal numbers x^2-y^2,2xy,x^2+y^2


I personally found the odd case is , with some work, obvious as simply building squares on a plane. Rather enlightening an approach and exercise.
David John Hill Jr is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
20th Test of primality and factorization of Lepore with Pythagorean triples Alberico Lepore Alberico Lepore 43 2018-01-17 15:55
Final Lucas Lehmer residuals and Pythagorean triples a nicol Miscellaneous Math 21 2017-12-19 11:34
Basic Number Theory 13: Pythagorean triples and a few Diophantine equations Nick Number Theory Discussion Group 2 2016-12-18 14:49
pyth. triples and primes bhelmes Math 2 2016-07-20 10:34
Pythagorean Triples jinydu Puzzles 6 2003-12-13 10:10

All times are UTC. The time now is 20:20.

Thu Apr 22 20:20:12 UTC 2021 up 14 days, 15:01, 0 users, load averages: 3.72, 3.40, 2.77

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.