Skip to content

drake-young/Euler1_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Euler1_Python

Problem 1 of project Euler solved using three separate approaches in Python3. Once using iteration over all integers 0-1000, once using iteration over only multiples of 3 and 5, and once using summation of the results of a generator function. All three results are equivalent and the runtime are displayed upon execution.

Project Euler Problem 1 -- Multiples of 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.

Authors

See also the list of contributors who participated in this project.

Additional Links and References

About

Project Euler Problem 1 -- Multiples of 3 and 5 (Python 3)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages