News for hackers. Stuff that matters.
Re:Illegal prime by cormacrelf on Friday April 27, 2018 @08:41AM (#16940327)
There are a lot of easily describable primes, like the Mersenne primes. A lot of numbers can be described in fewer bits than directly. This is not always the case, but you could just keep looking for another more easily describable prime or broaden the search space to include non-destructive modifications of the data you're representing.
Re:Illegal prime by mikeash on Friday April 27, 2018 @09:26AM (#16940597)
This is just data compression. Most strings can’t be compressed, and nearly all strings can’t be compressed by more than a small amount.
Re:Illegal prime by dorgo on Saturday April 28, 2018 @04:03AM (#16946619)
>nearly all strings can’t be compressed by more than a small amount.

source?

Re:Illegal prime by mikeash on Saturday April 28, 2018 @08:50AM (#16947414)
https://en.m.wikipedia.org/wiki/Pigeonhole_principle

As you increase length, the number of possible strings grows exponentially. There are only a few (relatively) much smaller strings you can map to.