🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉
Track Ruby
Ruby track

Pythagorean Triplet

An exercise from the Ruby track
medium

About this exercise

There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find the product a * b * c.

algorithms
math
View all solutions