Skip to content

Commit 33f55dd

Browse files
hekrausepetertseng
authored andcommitted
Sum-of-multiples: Add information to the description.
* Add the word unique to the description. * Go back to using "below" rather than "up to but not including. * Remove and between numbers. exercism/problem-specifications#961 Closes #360
1 parent f7b4758 commit 33f55dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exercises/sum-of-multiples/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Sum Of Multiples
22

3-
Given a number, find the sum of all the multiples of particular numbers up to
3+
Given a number, find the sum of all the unique multiples of particular numbers up to
44
but not including that number.
55

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

99
The sum of these multiples is 78.
1010

0 commit comments

Comments
 (0)