3 ms·
gzipped it's a 9043 byte file when the source is the number expressed exactly as bits. gzipping that 9043 byte file yields a 129 byte file, which gzip can't com
by biot 11y ago
gzipped it's a 9043 byte file when the source is the number expressed exactly as bits. gzipping that 9043 byte file yields a 129 byte file, which gzip can't compress any further. Base64 of the file:
H4sICBPHnlYCA2EuYmluegDt0LENQQEUQNHnK7xINF8rLIAVbKH88VU0ZlATK4gt1DQ6vURMoBID
iN4CknOa29/BNrN72U+LZj2eL1fxPDU6EXE+3CbvUTEMAAAAAAAAAODfPfq9/DZfx6petw2B32Z5
XZT31mYXH9vDv0RTIwAA
- Houshalter 11y agoI see some redundancy there. The letter "A" appears many times in a row. Also it could be compressed even further. All you need is a computer program that prints "1", 74 million times.
- elenorelange 11y agoIt's already been concisely expressed as 2^74,207,281 - 1, so you don't need a computer program that prints "1" 74 million times. You just need a computer language that can interpret bignum math equations.
- Houshalter 11y agoThat would take ages to compute. Printing one is faster. And might produce the smallest file size if it's done in assembly.
- elenorelange 11y agobut the metric was the most concise way to store the data
- themadcreator 11y agoNeato! Verified with: echo "H4sICBPHnlYCA2EuYmluegDt0LENQQEUQNHnK7xINF8rLIAVbKH88VU0ZlATK4gt1DQ6vURMoBIDiN4CknOa29/BNrN72U+LZj2eL1fxPDU6EXE+3CbvUTEMAAAAAAAAAODfPfq9/DZfx6petw2B32Z5XZT31mYXH9vDv0RTIwAA" | base64 --decode | gzip -d | gzip -d | xxd