How about memorizing the python script that prints out the binary?
If you’re going compress it to an algorithm that, given enough time, allows you to construct the number, don’t just stop there!
Shout-out to Truly Part of You: https://www.lesswrong.com/posts/fg9fXrHpeaDD6pEPL/truly-part...