Comment

Comment by notfashion

Representing an arbitrary sequence of bits, digits, etc. using a real number is the basis for arithmetic coding. As such, it's an approach that has been productive historically, and arithmetic coding continues to be widely used. So the basic idea of encoding whatever you want to encode in a single real number (obviously represented to just enough precision) isn't fruitless and boring. In this case it is a number that is easy to calculate using the formula given, which doesn't at first glance resemble a prime sieve.
parent notfashion 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton