Function primapalooza::get_nth_prime [] [src]

pub fn get_nth_prime(n: usize) -> usize

Get the nth prime using Euler's. Up to 41st prime.

Examples

use primapalooza::get_nth_prime;
 
println!("{}", primapalooza::get_nth_prime(5));