diff --git a/src/projectEuler/question9.hs b/src/projectEuler/question9.hs new file mode 100644 index 0000000..9958920 --- /dev/null +++ b/src/projectEuler/question9.hs @@ -0,0 +1,32 @@ +{- +Special Pythagorean Triplet +Problem 9 + +A Pythagorean triplet is a set of three natural numbers, `a < b < c`, 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 product `abc`. +-} + +main :: IO () +main = print answer + +answer :: String +answer = "I dunno" + + + + + + + + + + + +