Skip to content

Commit 6fb7833

Browse files
hekrauseErikSchierboom
authored andcommitted
Sum-of-multiples: Add information to the description. (#961)
* Added further informations in the description. * Added the word unique to the description. * Change the description. * Remove and between numbers. * Break to long line.
1 parent e93924e commit 6fb7833

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Given a number, find the sum of all the multiples of particular numbers up to
1+
Given a number, find the sum of all the unique multiples of particular numbers up to
22
but not including that number.
33

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

77
The sum of these multiples is 78.

0 commit comments

Comments
 (0)