Sha256: 6517804ecbcd0822989cb84aed12d009ec73fdfec27a10937a93c646233bae08
Contents?: true
Size: 265 Bytes
Versions: 117
Compression:
Stored size: 265 Bytes
Contents
Given a number, find the sum of all the unique multiples of particular numbers up to but not including that number. If we list all the natural numbers below 20 that are multiples of 3 or 5, we get 3, 5, 6, 9, 10, 12, 15, and 18. The sum of these multiples is 78.
Version data entries
117 entries across 117 versions & 1 rubygems