Sha256: ce640e5554ff21642794f9d09c75d5ad8d0b01c9b95254d997fc07874f7779b3

Contents?: true

Size: 313 Bytes

Versions: 39

Compression:

Stored size: 313 Bytes

Contents

If we list all the natural numbers up to but not including 20 that are
multiples of either 3 or 5, we get 3, 5, 6 and 9, 10, 12, 15, and 18.

The sum of these multiples is 78.

Write a program that, given a number, can find the sum of the multiples
of a given set of numbers, up to but not including that number.

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
trackler-2.0.6.28 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.27 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.26 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.25 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.24 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.23 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.22 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.21 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.20 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.19 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.18 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.17 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.16 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.15 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.14 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.13 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.12 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.11 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.10 common/exercises/sum-of-multiples/description.md
trackler-2.0.6.9 common/exercises/sum-of-multiples/description.md