Sha256: 13456863f742ef1ef98bdf197f56c090da5ba3a4b4c550a387f786cf6b9f377d

Contents?: true

Size: 267 Bytes

Versions: 6

Compression:

Stored size: 267 Bytes

Contents

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

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.
```

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trackler-2.1.0.24 common/exercises/pythagorean-triplet/description.md
trackler-2.1.0.23 common/exercises/pythagorean-triplet/description.md
trackler-2.1.0.22 common/exercises/pythagorean-triplet/description.md
trackler-2.1.0.21 common/exercises/pythagorean-triplet/description.md
trackler-2.1.0.20 common/exercises/pythagorean-triplet/description.md
trackler-2.1.0.19 common/exercises/pythagorean-triplet/description.md