Sha256: b70be463c97e49b6998845b9b6cfb3aa1f2f84191cb4df1df2c2483138040334

Contents?: true

Size: 275 Bytes

Versions: 139

Compression:

Stored size: 275 Bytes

Contents

A Pythagorean triplet is a set of three natural numbers, {a, b, c}, for
which,

```text
a**2 + b**2 = c**2
```

For example,

```text
3**2 + 4**2 = 9 + 16 = 25 = 5**2.
```

There exists exactly one Pythagorean triplet for which a + b + c = 1000.

Find the product a * b * c.

Version data entries

139 entries across 139 versions & 1 rubygems

Version Path
trackler-2.2.1.180 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.179 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.178 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.177 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.176 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.175 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.174 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.173 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.172 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.171 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.170 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.169 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.167 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.166 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.165 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.164 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.163 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.162 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.161 problem-specifications/exercises/pythagorean-triplet/description.md
trackler-2.2.1.160 problem-specifications/exercises/pythagorean-triplet/description.md