pub fn mask(x: u64, n: u64) -> u64
Computes the mask for a number that tells which bit can be flipped to change it into a prime.