multiples_3_and_5

command module
v0.0.0-...-f249e14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

README

Multiples 3 and 5

If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

Find the sum of all the multiples of 3 or 5 below 1000.

Observations

  • The first form the input values are slices, but I need build a function for delete the repeated elements because some elements are multiple of 3 and five, the sum of the two slices is wrong!!

See the version 2!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL