Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yurlungur/sum_primes
A little script to sum all of the primes less than some maximum number N.
https://github.com/yurlungur/sum_primes
Last synced: 13 days ago
JSON representation
A little script to sum all of the primes less than some maximum number N.
- Host: GitHub
- URL: https://github.com/yurlungur/sum_primes
- Owner: Yurlungur
- License: gpl-2.0
- Created: 2014-08-29T15:30:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-29T15:38:56.000Z (over 10 years ago)
- Last Synced: 2023-03-23T17:06:40.724Z (almost 2 years ago)
- Language: Python
- Size: 145 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
sum_primes.py
This is a tiny little Python script to sum all prime numbers less than
some maximum number N. Uses the Sieve of Eratosthenes.For more info on the Sieve, see:
http://www.thephysicsmill.com/2012/12/16/panning-for-primes-with-the-sieve-of-eratosthenes/
https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes