Sha256: b3e4ffb7e311a90135e811ee83361f536335e1562ec2f3cf0af6881f644133e2

Contents?: true

Size: 397 Bytes

Versions: 6

Compression:

Stored size: 397 Bytes

Contents

Given a number, find the sum of all the multiples of particular numbers up to but not including that number.

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.

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trackler-2.1.0.24 common/exercises/sum-of-multiples/description.md
trackler-2.1.0.23 common/exercises/sum-of-multiples/description.md
trackler-2.1.0.22 common/exercises/sum-of-multiples/description.md
trackler-2.1.0.21 common/exercises/sum-of-multiples/description.md
trackler-2.1.0.20 common/exercises/sum-of-multiples/description.md
trackler-2.1.0.19 common/exercises/sum-of-multiples/description.md