1 unstable release
Uses new Rust 2024
new 0.1.0 | Apr 23, 2025 |
---|
#893 in Math
111 downloads per month
83KB
1K
SLoC
Primes
This is a simple library for generating small prime numbers. A command-line interface to generate the first N numbers is provided:
$ primes 4
2
3
5
7
To find the thousandth prime:
$ primes | tail -1
7919