Pythogorean triplets


We all know of the Pythagorean theorem (Well if you don't know that one, you probably stumbled to the wrong place, there wouldn't be anything of interest to you here).

A Pythogorean triplet is the set of three integers that figure in the equation. At Project Euler, the 9th problem is to find a triplet so that a+b+c = 1000

It's not the most difficult problem listed there.

comments powered by Disqus