# Digits Of Pi

A famous quote from John Von Neumann goes like this,

Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin.

This is something I've intuitively believed since I was 15 and even hadn't heard of Neumann. Pure random numbers is (or probably more) as fascinating concept as $\infty$ or $i$. It is impossible to generate sequence of purely random numbers without tapping in to nature. That means I could never write a computer code that generates a sequence of random numbers without showing up absolutely any patterns in a long run. There are only better random generators, never a perfect one, except thy nature itself.

So when I saw an article that digits of Pi are so far empirically proven to be randomly distributed, I was shocked. Infect huge progress has been made to prove that digits of Pi are indeed randomly distributed. Now the fact is, p can indeed be calculated algebraically (i.e. without tapping in to any natural phenomenon) and the idea that this can produce a pure random distribution just gives me a feeling as if sky is falling. I'd been hypothesizing since long time that the ability to generate infinite sequence of pure random numbers is the most significant (and probably the only) property to identify the existence of real universe, if it at all exist, that is ;). Consider this question: How do you know, at this precise moment, that you aren't part of some simulation running on some huge alien computer, or that you aren't some character in StarTrek holosuit or that you aren't dreaming with all these things around you (however "real" they may feel) aren't really "real"? Ok, it's hard to explain what I'm asking you but in nutshell, I'm trying to find out from pure mathematical perspective if there is anything in the nature that I can't masquerade, a property of the physical world around us that is impossible to simulate by any artificial means however sophisticated.

My hypothesis is that this property of the real world is an ability to generate infinite sequence of pure random numbers. That means, if you really want to find out whether you are some simulation running in a giant alien computer, all you have to do is to observe some natural phenomenon over a time with precision P and verify that your readings demonstrate pure randomness over the period of time T, where the P and T depends on sophistication of that alien simulation. The P and T can be very large but can never be infinity, except unless you are in the real world, of course. This is the mathematician's version of "I exist because I think".

So now you know why randomness of digits of pi made my stomach cringe. When I think about it, I'm starting to feel that any transcendental number obtained through convergence of infinite series (lets call them algebric transcendentals or ATs) must indeed have its digits distributed randomly. If you remember Cantor, there are more transcendental numbers than any other kind. But what this really means is I'm able to generate sequence of pure random numbers only using algebric means. It's as simple as finding new AT and emitting its digits. If you were someone who had given lot of thoughts to the nature of random numbers for years, this would sound both frightening and exciting to you. But hold on, could this really be true? After giving this some thought I believe it couldn't possibly be. I've finally constructed the following conjecture:

From a finite sequence of minimum length L of digits of any AT, there exist a Turing machine program $G(L)$ to calculate the next digit in that sequence in finite steps. In other words, for any AT there always exist a number L which is finite and for which $G(L)$ is a computable function.

In simple language, if you just give me sequence of AT's digits I should be able to predict the next digits provided you gave me enough of them to start with. This simply means if the alien computer was trieng to fool you by feeding you digits of some AT as a stream of random numbers, you can just sit back, collect these digits for a while and when you get handful of those, you can run through your algorithm to predict the next digits and find out you are not really in a real world (and also the fact that aliens didn't knew about Shital's AT Conjecture)! So random distribution is not the one and only property to identify a sequence of pure random numbers. The sequence of pure random numbers would not satisfy this conjecture (i.e. L would be 8). Infect this should be outright obvious: For sequence of natural numbers $0, 1, 2, \ldots$ we have all digits equally distributed but this sequence isn't by any means random.

This also gets us on to something else: the L now becomes a valuable property of an AT. A random number with infinite digits can be considered as a special class of AT with $L\approx$\infty. Let's call set of all such number ? (greek capital letter Rho) then the cardinality of $\rho$ should be $\aleph$.

If all of this went over your head, here is fun part: Here you can look it up if your phone number has showed up in digits of pi calculated so far or even your name expressed as hex codes! For example, I can be found in pi at 67357954th digit ;).

• "How do you know, at this precise moment, that you
aren't part of some simulation running on some huge
alien computer, or that you aren't some character in
StarTrek holosuit or that you aren't dreaming with all
these things around you (however "real" they may feel)
aren't really "real"? "

I understand fully what you are saying, I've often had that feeling, that I'm not really in the real world, that I'm in some kind of computer simulation (I've had this suspicion before "The Matrix" even came along). Here's something that will really make your head spin...using digits of Pi as a random number isn't random at all. For instance if you're counting on your random sequence generator for purposes of encryption, it wouldn't be very secure at all if someone figured out the basis.

I like your little journal. I think I'm going to pull up a chair for a spell ðŸ™‚

• Stephen Mercer

Sorry to destabilize your hope, but just having the digits of the random stream is not enough to allow you to calculate the next digit of the transcendental.

> In simple language, if you just give me sequence of
> AT's digits I should be able to predict the next
> digits provided you gave me enough of them to start with.

Let's take a simple finite decimal, say 1 divided by 16 or 0.0625.

If I gave you everything except the 5, there's no information to let you guess whether that last digit is a 5 or some other digit. You would need to know the currently value of my remainder when I calclulated the 2 and the divisor that I'm using to generate this number. Without that information, you can't know that the next number is a 5, nor can you know that the 5 is the final number. The same applies to the transcendentals. You need to know the calcluating Turing machine and its current state in order to get the next digit. Simply having the output is not enough information to calculate the state of the system.

From inside the system, you're still not able to tell whether this is a true random stream or just a very long semi-random string that the aliens are feeding you. Assuming you believe there is a "you" at all. ðŸ™‚