So far there has been no formulas found. The randomness of prime numbers make them unpredictable to calculate. There is a bit of a hit and miss formula, which is (2 to the power of p) - 1, with p being a Prime number. Prime numbers that fit this are callled "Mersenne primes". Mathematicians are still searching for a formula that works 100% of the time though. =)
Chat with our AI personalities
Prime numbers are not invented.
There is no formula for prime numbers. They form a random sequence.
No one invented prime numbers.
God.
mr prime