Problem description, from Project Euler There exists exactly one Pythagorean triplet for which a + b + c = N. (N is known.) Find the product abc. Solution This was a quick once since I just brute-forced it. I think there are some optimizations possible related to the idea that a^2 + b^2 < c^2. […]
pythagorean triplets
There is one post tagged pythagorean triplets.