We use cookies to personalise content and advertisements and to analyse access to our website. Furthermore, our partners for online advertising receive pseudonymised information about your use of our website. cookie policy and privacy policy.
 
+0  
 
0
387
1
avatar

Given any two whole integers m and n such that m > n, how do you generate a Pythagorean triple. Example: 7 and 5? Thank you.

 Jul 13, 2018
 #1
avatar+17774 
+1

Use these formulas:  m2 + n2,  m2 - n2,  2·m·n

 

For example:  If  m = 2  and  n = 1, then you have:  22 + 12  =  5     22 - 12​  =  3     2·2·1  =  4.

 Jul 13, 2018

10 Online Users