Re:2^74207281-1 is Prime
by daveguy on Tuesday January 19, 2016 @12:56PM
(#10932438)
M49 (for the 49th mersenne prime) fits in 2 bytes! Or even better just 49! 6 bits! Assuming your decompression algorithm is optimized for mersenne primes. :)
[ Parent
| on HN ]
It can fit in a single bit if your algorithm is optimized for "primes that are equal to M49" :)
You could optimize the single bit away by assuming that there would be a bit.
Re:2^74207281-1 is Prime
by graylights on Tuesday January 19, 2016 @09:33PM
(#10935700)
Great, I've just discovered the 50th mersenne prime, M50. Decompression takes a lot of time.