Sha256: 2723a7666198d09f15617c7b54a2fcd40199d94b80c4379a36f9724112972963
Contents?: true
Size: 287 Bytes
Versions: 90
Compression:
Stored size: 287 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. 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
90 entries across 90 versions & 1 rubygems