Expand description
Generate the nth prime number. Note: limit of n index stands at [1, 1_000_000).
§Algorithm
primenumbe-rs crate’s algorithm is inspired by the the optimized version of the Sieve of Eratosthenes.
Structs§
- Primenumber
- ‘’’no_run use primenumbe_rs::Primenumber; ‘’’