Track Elixir
Elixir track

Pythagorean Triplet

An exercise from the Elixir track
medium

About this exercise

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

reduce
algorithms
math
View all solutions