New Prime Number is too big for Excel
They’ve discovered a new Prime number but not for Excel.
The new arrival is a bouncing bonny number 257,885,161-1 which is 17 million digits long.
Prime numbers aren’t just mathematical curiosities, they are vital for modern encryption systems.
Alas, the new prime is waaaay to big to insert into Excel.
Update: Even when you put the number into Excel it’s rounded.
Excel 2003 onwards is ‘limited’ to 9.99999999999999307 or 10 followed by 306 zeros minus a tiny bit. The largest value via formula is 1.7976931348623158308
That’s not to diss Excel – the number range is more than enough for most purposes. For example, the Gross World Product is ‘just’ 80 trillion dollars, well under the maximum number Excel is capable of.
The trivia question is …
What’s the largest prime number that can be used in an Excel worksheet?
Can anyone figure it out? Let us know.
It could be Mersenne number 607 or 2607-1 which has 183 digits and was discovered in 1952 – see Wikipedia. Mersenne primes are just a subset of all prime numbers so M607 might not be the largest possible prime for Excel.
- Big numbers rounded in Excel
- Benford’s Law and Excel
- Variability in Excel
- Function name changes in Excel 2010
- Sabotaging Random Numbers
- Getting truly random numbers into Excel
- Random Numbers in Excel