Comment by bloak
2 days ago
Of course, another way of making this a more efficient encoding would be to take account of the fact that primes tend to be odd: if p is an odd prime then the next prime is one of the (p - 1)/2 values p + 2, p + 4, ..., 2p - 1.
No comments yet
Contribute on Hacker News ↗