Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.