How many Pythagorean triples exist such that and 2017 is one of the values?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
2017 is a prime number, so all Pythagorean triples containing 2017 will be primitive Pythagorean triples. Primitive Pythagorean triples have the form ( 2 s t , s 2 − t 2 , s 2 + t 2 ) , where s and t are coprime positive integers, one of which is even. 2 s t and s 2 − t 2 are the lengths of the legs, but they are not necessarily in that order.
2017 is odd, so it cannot equal 2 s t .
Case 1 : 2 0 1 7 = s 2 − t 2
Factoring gives 2 0 1 7 = ( s + t ) ( s − t ) . Given that 2017 is prime and s and t are positive integers,
s + t s − t = 2 0 1 7 = 1
This gives s = 1 0 0 9 and t = 1 0 0 8 . There is exactly 1 Pythagorean triple for this case. Incidentally, it is ( 2 0 1 7 , 2 0 3 4 1 4 4 , 2 0 3 4 1 4 5 ) .
Case 2 : 2 0 1 7 = s 2 + t 2
Given that 2017 is prime, it can be expressed as the sum of two squares in exactly one way only if it has the form 4 k + 1 . It does have this form, so there is exactly 1 Pythagorean triple for this case. Incidentally, s = 4 4 , t = 9 , and the Pythagorean triple is ( 7 9 2 , 1 8 5 5 , 2 0 1 7 ) .
Thus, there are exactly 2 Pythagorean triples that contain 2017.