Thinking about Pi Day has got me thinking about transcendental numbers in general. Nearly all numbers on the number line are transcendental.
Roughly speaking, the transcendental numbers are the ones with no repeating pattern in their decimal expansion. Which means that somewhere in their infinite sequence of digits they contain every possible pattern.
Instead of expressing a number in base 10, we could instead express it in base 96. That would allow us to use every printable character as a digit:
 !”#$%&'()*+,-./0…9:;<=>?@A…Z[\]^_`a…z{|}~
If we do that, then every transcendental number (that is, nearly every number) will contain somewhere in its sequence of digits every literary work that has ever been written or that ever will or could be written.
Which leads to some interesting questions. For example, how many digits do we need to go out in the base 96 representation of Pi before there is a 50% chance that we would come across the complete works of Shakespeare?
I don’t know the answer, but you can be sure it’s a really really big number. I wonder how we would go about calculating that.

