mersenneforum.org > Math Pythagorean triples
 User Name Remember Me? Password
 Register FAQ Search Today's Posts Mark Forums Read

 2005-01-01, 15:18 #1 Rokas   5,807 Posts 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
 2005-01-01, 17:38 #2 PBMcL     Jan 2005 2×31 Posts 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.
 2005-01-01, 18:32 #3 PBMcL     Jan 2005 6210 Posts Correction Ooops - all possible primitive triples.
 2005-01-02, 03:50 #4 David John Hill Jr     Jun 2003 Pa.,U.S.A. 22×72 Posts 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.

 Similar Threads Thread Thread Starter Forum Replies Last Post Alberico Lepore Alberico Lepore 43 2018-01-17 15:55 a nicol Miscellaneous Math 21 2017-12-19 11:34 Nick Number Theory Discussion Group 2 2016-12-18 14:49 bhelmes Math 2 2016-07-20 10:34 jinydu Puzzles 6 2003-12-13 10:10

All times are UTC. The time now is 15:22.

Sat May 8 15:22:03 UTC 2021 up 30 days, 10:02, 0 users, load averages: 3.81, 3.38, 2.88