by AstixAndBelix · 3y ago · 0 comments
With "uniformly random real between 0 and 1" you can't do that.
More relevantly to infinities, the program that spits out the digits of pi is finite. We can easily count through all the computable numbers, including every number you can specifically name, albeit in a weird order and with duplicates.
It's not a bijection, but if you have a computable number you can derive a natural number that represents its program, and if you have a natural (or rational) number you can derive a program that computes it.