| 
 
 
| Question 1127550:  The general formula for the Pythagorean triples is a=m^2-n^2, b=2mn and c=m^2+n^2 for integers m and n. How would this formula be used to find all the number of primitive Pythagorean triples containing 24 as one number?
 Answer by greenestamps(13209)
      (Show Source): 
You can put this solution on YOUR website! 
 2mn is always even.
 
 If m and n are both even, then both m^2-n^2 and m^2+n^2 are even, and the triple would not be primitive.
 If m and n are both odd, then again both m^2-n^2 and m^2+n^2 are even, and the triple is again not primitive.
 
 So for a primitive triple, we need the following:
 (1) m and n are one even and one odd
 (2) m > n
 (3) 2mn = 24  -->  mn = 12
 
 There are 3 pairs of integers m and n that meet conditions (2) and (3):
 (m,n) = (12,1); (6,2); (4,3).
 
 The second pair does not satisfy condition (1), so there are exactly 2 primitive Pythagorean Triples containing the number 24:
 
 m = 12, n = 1  -->  the triple is (143, 24, 145)
 
 and
 
 m = 4, n = 3  -->  the triple is (7, 24, 25)
 | 
  
 | 
 |