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

Pythagorean Triplet

An exercise from the JavaScript (Legacy) track
medium

About this exercise

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

algorithms
control flow conditionals
control flow loops
integers
math
View all solutions