Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/barabasz/primes
Python class that calculates primes, their statistics and other related numbers in specified range
https://github.com/barabasz/primes
prime-numbers primes statistics
Last synced: about 14 hours ago
JSON representation
Python class that calculates primes, their statistics and other related numbers in specified range
- Host: GitHub
- URL: https://github.com/barabasz/primes
- Owner: barabasz
- License: mit
- Created: 2023-09-17T11:43:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-25T11:47:26.000Z (about 1 year ago)
- Last Synced: 2024-03-26T11:52:05.597Z (8 months ago)
- Topics: prime-numbers, primes, statistics
- Language: Python
- Homepage:
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# primes
A simple Pyhon class that calculates primes, their statistics and other related numbers in specified range.
## CLI usage
for range {2..𝑥}
primes x
or for range {𝑥..𝑦}
primes x y
where `x` and `y` are positive natural numbers, 𝑥 ≥ 1, 𝑦 ≥ 𝑥 and 𝑦 < 10000000.
## Disclaimer
The purpose of this script is not to calculate prime numbers, but to quickly present specific statistics about them in a given range.