DOKK / manpages / debian 10 / primesieve-bin / primesieve.1.en
PRIMESIEVE(1) primesieve PRIMESIEVE(1)

primesieve - efficient prime number generator

primesieve [START] STOP [OPTION]...

Generate the primes and/or prime k-tuplets inside [START, STOP] (< 2^64) using the segmented sieve of Eratosthenes.

Count primes and prime k-tuplets, N <= 6, e.g. -c1 primes, -c2 twins, -c3 triplets, ...
Print CPU information
Sieve the interval [START, START + N]
Print this help menu
Calculate the nth prime, e.g. 1 100 -n finds the 1st prime > 100
Turn off the progressing status
Print primes or prime k-tuplets, N <= 6, e.g. -p1 primes, -p2 twins, -p3 triplets, ...
Quiet mode, prints less output
Set the sieve size in KiB, N <= 4096
Set the number of threads, N <= CPU cores
Print the time elapsed in seconds
Print version and license information

Count the primes below 1000
Count the twin primes below 1000
Print the primes below 10^6
Print the primes inside [100, 200]

Copyright © 2010 - 2019 Kim Walisch

BSD 2-Clause License <https://opensource.org/licenses/BSD-2-Clause>

January 2019