Tag Archives: Euclid’s formula

Project Euler. #9. Special Pythagorean triplet

Project Euler (http://projecteuler.net/) 문제9 A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, a2 + b2 = c2 For example, 32 + 42 = 9 + 16 = 25 = 52. There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product abc. 피타고라스의 삼각쌍은 세 자연수에 대하여 a < b < c 이고, a2 + b2 = c2 예를 들면, 32 + 42 =… Read More »