PRIME_TO_INDEX_MAP

Constant PRIME_TO_INDEX_MAP 

Source
pub const PRIME_TO_INDEX_MAP: [usize; 252];
Expand description

For any integer i less than or equal to MAX_PRIME, PRIME_TO_INDEX_MAP[i] is the index of i in PRIMES if i is prime; otherwise, it is NOT_A_PRIME.