http://projecteuler.net/problem=9

A Pythagorean triplet is a set of three natural numbers,

abc, for which,a^{2}+b^{2}=c^{2}For example, 3

^{2}+ 4^{2}= 9 + 16 = 25 = 5^{2}.There exists exactly one Pythagorean triplet for which

a+b+c= 1000.

Find the productabc.

I used Euclid’s formula for generating Pythagorean triplets.

– Josh