News

One such “prime number generator” is the formula for the n th prime number by C. P. Willans. This function, p (n), spits out the n th prime number for any value of n.