Primesieve

Primesieve 12.16

primesieve is a command-line program that generates primes using the sieve of Eratosthenes algorithm. It can generate primes and prime k-tuplets (twin primes, prime triplets, ...) up to 2^64 and find

  • By Kim Walisch
  • Open Source
  • Updated Sep 28, 2026
Download for Windows

About Primesieve

primesieve is a command-line program that generates primes using the sieve of Eratosthenes algorithm.
It can generate primes and prime k-tuplets (twin primes, prime triplets, ...) up to 2^64 and find the nth prime.

Technical details

PublisherKim Walisch
Version12.16
Release date2026-09-28
LicenseBSD 2-Clause
Installer typeinno
Architecturex64, arm64
Package IDPrimesieve.Primesieve

Links & install command

Install Primesieve from the command line with Windows Package Manager (winget):

winget install --id=Primesieve.Primesieve -e

command-lineeratosthenesmathprime-numbersprimessievetoolutility

Older versions

  • 12.15
  • 12.14
  • 12.13
  • 12.12
  • 12.11
  • 12.9
  • 12.8
  • 12.7
  • 12.6