Is pi random, or is the future written in it?
If pi contains every string of digits, then the numbers of yesterday, of today and of tomorrow are already in it. Is that randomness, or was it all arranged beforehand? We took a list of 1,589 recorded numbers, kept in the order they arrived, found them in the first 3 trillion digits of pi, and ran 1,392 tests looking for the trace of an arrangement. This article tells the whole study, in plain words and in pictures.

- 3 trilliondigits of pi searched, later extended to 10 trillion
- 1,392tests looking for a pattern
- 0patterns that held up on new digits
Yesterday, today and tomorrow are already in pi
Start with dates. Write a date as 8 digits, the day first, then the month, then the year, and look for that string in the first 10 billion digits of pi. The three dates below belong to the past, the present and the future: the day Apollo 11 landed on the Moon, the day this article was written, and the first day of the year 2100. The table gives where each string first appears and how many times it appears:
| Date | Digits | First place | Times |
|---|---|---|---|
| 20/07/1969 | 20071969 | 112,562,207 | 129 |
| 06/12/2026 | 06122026 | 21,745,640 | 108 |
| 01/01/2100 | 01012100 | 2,568,965 | 124 |
The first day of 2100 has not come, yet its string is already in the first 10 billion digits of pi 124 times, and it was there before anyone had computed a single digit of pi. Nor is it just these three dates: every string of 8 digits appears at least 50 times in the first 10 billion digits (see does pi contain every number). So every day of history, and every day to the end of the year 9999, already has its place on the map.
Longer numbers lie farther out, but they are there too. The main part of this article uses 1,589 recorded numbers of 12 digits each. Read to around digit 6.33 trillion of pi, and every one of the 1,589 has appeared at least once.
This is where many people feel a chill. If tomorrow's number is already there, was the future written in advance?
Being there is not the same as being foretold
There are three reasons why a number being in pi says nothing by itself.
Pi holds the opposite too
The date 01/01/2100 is in pi, and so is 02/01/2100, like every other day. If the right outcome of an event is in pi, every wrong outcome is there too, and none of them is marked. Robert Lucky wrote in IEEE Spectrum that for every truth you find in pi you also find its opposite, and that a random sequence carries no information.
To point at the place you must already know the number
The longer the string, the farther away its first place, and the number that gives that place is about as long as the string itself. The string of 12 digits below sits at a position that is also 12 digits long:
| Digits | Length | First place |
|---|---|---|
| 01012100 | 8 digits | 2,568,965 |
| 0123456789 | 10 digits | 17,387,594,880 |
| 999999999999 | 12 digits | 897,831,316,556 |
Pi is like a library that holds every book that could be written, tomorrow's newspaper included, but has no catalog. To find that newspaper you must already be holding it. The map can answer "where is this number". It cannot answer "which number is coming".
Nobody has proved that pi contains everything
Pi is only sure to contain every string if it is a normal number, and that has not been proved. As Scientific American explains, every measurement on trillions of digits agrees with it, but agreeing is not a proof.
What an arrangement would leave behind
So the question worth asking is not whether a number is in pi. It is this: is there anything about how recorded numbers lie in pi that differs from made up numbers? If there were an arrangement, it would have to show somewhere:
- recorded numbers arrive sooner, or more often, than chance allows;
- going from one number to the next in time order, the path on the map has a direction, a rhythm, a habit;
- around the place of a recorded number there is something readable: a word, a picture in color, a tune;
- knowing the numbers that have come, you can guess where the next one will be.
And if it is random, then on all four points recorded numbers must look just like made up ones. That is what we put to the test.
How we tested
The map
We treat pi as a galaxy of digits: the first 3 trillion digits after the decimal point, wound into 30 turns of 100 billion digits each, as in the picture at the top. Later the galaxy was extended to 10 trillion digits. The digits come from the 100 trillion digits that Google published; the first 10 billion match the ones we computed ourselves, digit for digit.
The signals
The data is the project's list of 1,589 numbers. Each number is a line of 12 digits, and the list keeps the order in which they arrived, from the oldest to the newest. We call each number a signal, and each spot where it appears in pi a place. This article does not say where the numbers come from, because the tests do not need it: they only need a list that existed beforehand, that has an order, and that is used whole, with no line left out.
Three groups to compare with
A signal is only worth noticing if it differs from things that are not signals. So each measurement is compared with the control group that fits it, out of three:
- 1,589 strings of 12 digits picked entirely at random;
- 1,589 random strings with the same shape as the signals (the signals are not just any 12 digits, they share a shape);
- the signals themselves with their time order shuffled, thousands of times.
What counts as unusual
For each test we ask: if only chance were at work, how rare would a gap this size be? Rarer than 1 time in 20, and the test is marked as unusual. But with 1,392 tests, chance alone produces about 70 unusual results. So one unusual result means nothing. To count as a finding, a result has to pass two gates: clear a much harder bar, one that takes into account how many tests were run in its group; then show up again on digits nobody has looked at.
Rules written down first
The later rounds of tests and every retest had their list of tests, their thresholds and their way of reading the result written down before running. The plans of the retests were also stored with a hash, so that nobody could change them after seeing the numbers, and each retest could be run exactly once. And to know how sensitive the tests are, we planted fake patterns in the data. For example, just 8 signals standing next to each other, or one digit taking 14% instead of 10% at a fixed position, is enough for the tests to catch.
The numbers arrive on chance's schedule
Any string of 12 digits appears 3 times on average in 3 trillion digits, and has about a 5% chance of not appearing at all. For 1,589 strings, chance predicts about 4,767 places and about 79 strings missing.
The real signals have 4,643 places, and 76 signals are missing. The places are a little fewer than predicted, but not to an unusual degree: chance alone gives a gap like that about 7 times in 100. Sorted by how many times they appear, the signals follow the shape chance predicts:
The two columns farthest off are 2 times, 404 against 356, and 4 times or more, 516 against 561. This shape was not itself put to a test. The two numbers that were tested are the total of places and the count of missing signals, and neither is unusual.
Then we worked out ahead of time: if chance alone is at work, extending the galaxy to 10 trillion digits has a 93% chance of turning up all 76 missing signals. After reading 7 trillion more digits, all 76 showed up, the last one around digit 6.33 trillion.
Look closely at the chart above: early on, the gold dots run slightly below the blue line. In the first 1.3 trillion digits the signals have 1,968 places, against 2,066 predicted. Having seen that, we treated each stretch read afterwards as a new test. The next three stretches, up to 3 trillion, gave 2,675 places against 2,701, and the 7 trillion digits after that gave 11,150 against 11,123. The shortfall did not come back.
No signal arrived suspiciously early, and none stayed hidden for good. We also checked every string with the same shape as the signals, millions of them: at 10 trillion digits, 99.996% of them had appeared, just what chance predicts. Having a place in pi does not make a recorded number any different from a made up one.
The path has no direction
Put the signals in time order, then join the first place of each signal to the first place of the next, and you get a path of 1,512 steps across the map. If someone were leading the way, the path would lean one way. It leans no way at all:
We tried many other ways to catch a route:
- No signal stands right before or right after the next one: 0 of 1,439 pairs.
- The longest chain of signals whose places keep moving forward in time has 122 signals; with the order shuffled, that number averages 127. Moving backward: 130, also against 127.
- The places of the signals do not stand closer together than chance, whether measured at a scale of 100,000 digits or of 10 billion digits.
- On four 3D maps (a helix on a cylinder, a sphere, a torus, a box), the path keeps no direction either and stays in no region.
No words, colors or music around the places
The piknows site shows the digits of pi as letters, as colors and as music. We used those same views, and many others, to see whether anything readable lies around the places of the signals, always compared with the places of control strings.
- Letters. The 12 digits of a signal and the 50 digits before and after each place were read as letters in 9 ways, then searched for words in 18 languages: 545 tests, 16 unusual, where chance alone gives about 27. The probability that two letters picked at random are the same is 0.0388, exactly that of random letters; real English text gives about 0.066.
- Blind reading. Passages from around signals were mixed with passages from around control strings and given to a reader (here an AI model) who did not know which was which. No phrase or message was found, and the two groups did not differ.
- Colors. 13 measures of the color picture around each place (patches, streaks, symmetry) could not tell signals from controls. On a scale where 0.5 is a coin toss and 1 is telling them apart perfectly, the result was 0.49.
- Other scripts, codes and music. Six writing systems (Chinese, Japanese, Korean, Hebrew, Arabic, Greek), five codes (Morse and a barcode among them) and music in three tunings: 53 tests, none unusual.
On words that turn up in pi by chance, see also is there a message in pi.
Using pi to guess the next number
This is the test closest to the question about the future. We replayed history: going from the oldest signal to the newest, and at each step, before the next signal was revealed, rules had to guess where in the galaxy it would be, using only the signals already revealed. In all, 1,579 steps and 62 rules: keep going straight, turn again by the same angle, head for the most crowded spot, build a triangle from the last three places, read the digits right after a place as an address, and even a model that learns from the signals already revealed.
Each guess gets a score from 0 to 100. A score of 0 is a perfect guess, 50 is what a place picked blindly gets. The average score of the whole replay was 49.3 measuring distance in digits, 50.5 measuring on the map and 49.8 measuring by angle. All three are the level of a blind pick.
After that we gathered every way of guessing into one scoreboard of 174 ways, including ways that guess the next 12 digits straight from the earlier signals, without going through pi:
None reached the threshold set beforehand. Just knowing the common shape of the signals already gets 4 of the 12 digits right on average; no way that uses the time order or the position in pi beat that. Running the same scoreboard on two other genuine lists with the same shape as the signals gave the same result.
Six times a pattern in pi seemed to appear
This study was not always quiet. Six times a result cleared even the hard bar, the one that takes into account the number of tests in its group. The most striking was this.
Among the 62 guessing rules is one that turns again by the same angle as the step before. The place it points to is no closer to the real place than a blind pick. But the 12 digits at that place have colors like the real signal slightly more often than chance: 6,073 cells against 5,877. Chance alone gives a gap like that about 1 time in 16,000. We shuffled the order of the signals 50,000 times, and not once did it reach that level.
Then we measured again, one single time, on the next 3 trillion digits, digits nobody had looked at: 5,923 against 5,855. Only about a third of the gap was left, and chance alone produces a gap like that about 1 time in 11. The other five results did not hold up either:
- Guess colors. At the place the turning rule points to, 6,073 cells have a color like the real signal, against 5,877 by chance. On new digits: 5,923 against 5,855. 35% of the gap was left, and it did not pass the bar.
- Neighbor link. The digits around one signal seemed to resemble the digits around the next: a correlation of 0.028, against 0 with the order shuffled. It had come back once, on 191 new pairs, then failed to come back on 293 other new pairs. In the final test, on new digits: −0.016, that is, the other way round.
- Adjacent turn. The path seemed to step onto the turn right next to it less often: 7.1% of the steps, against 9.4% with the order shuffled. On new digits: 10.1% against 10.4%. 15% of the gap was left.
- Column shade. Drawing the digits around each place as light and dark cells, two cells one above the other seemed to differ more: 3.3034 against 3.3001. On new digits: 3.3009 against 3.3. About a quarter of the gap was left.
- 8 note echo. Reading the digits around each place as notes, a note seemed to come back less often exactly 8 notes later: 9.90% against 9.99%. On new digits: 9.9996% against 10%. The gap was gone.
- A model that catches signals. A machine learning model seemed to recognize signals hidden among strings of the same shape: 0.515 on the scale where 0.5 is a coin toss. A check showed this was a flaw of the test: with blindly picked places put in the role of the signals, the model scored the same. This result is not in the chart.
No result held up in its final test. Those tests rule out gaps as large as the ones first seen; they do not rule out much smaller ones.
The lesson here is bigger than pi. Had we stopped at the first look, we would have had five discoveries to publish. New data is the only thing that tells a pattern from a stroke of luck.
Adding it up: 1,392 tests
Sort every test into eight groups by what it looked for, then count the unusual results in each group:
| Group | Tests | Unusual | Luck alone |
|---|---|---|---|
| Place and direction | 157 | 5 | about 8 |
| Letters and words | 620 | 16 | about 31 |
| Colors and shades | 92 | 4 | about 5 |
| Codes and music | 55 | 1 | about 3 |
| Surroundings | 100 | 6 | about 5 |
| Guessing rules | 357 | 18 | about 18 |
| Hide and catch | 6 | 1 | under 1 |
| Retests | 5 | 0 | under 1 |
| Total | 1,392 | 51 | about 70 |
Surroundings are the digits standing around each place and the link between two signals in a row. Hide and catch is the test that mixes the signals in among strings of the same shape, then sees whether a model can find them again. Retests are the measurements on new digits described above. Each group gathers every round of tests of its kind, so it is larger than the numbers given in the sections above. The letters and words group, for instance, holds the 545 letter tests already described, plus the rounds that read letters down the list and in six writing systems.
51 unusual results in 1,392 tests, where chance alone gives about 70. The tests are not independent of each other, so nothing more can be read from 51 being smaller than 70. What can be read is this: no group has clearly more unusual results than chance gives, and every result that ever cleared the hard bar met its end in the section above.
So is pi random or arranged?
The digits of pi are not random in the sense of being thrown like dice. They are fixed: the trillionth digit was what it is before anyone computed it, and always will be. In that sense everything in pi is already there, tomorrow's number included.
But being there is not the same as being arranged for us. An arrangement that had anything to do with the real world would have to make recorded numbers differ from made up ones somewhere: arriving sooner, moving with a direction, carrying words, or being guessable. In 3 trillion digits, then 10 trillion when needed, across 1,392 tests, we found no trace that held up.
The answer we draw is this: the digits of pi are fixed by mathematics, but toward this list of recorded numbers they behave just like random ones. The map holds yesterday, today and tomorrow in exactly the way it holds every day that will never happen, and it does not say which is real.
This agrees with other measurements of the digits themselves. In 2005 Purdue University announced a study by the physicist Ephraim Fischbach and a coauthor that compared about the first 100 million digits of pi with about 30 software random number generators. They found pi to be a good source of randomness, though not always the best, and saw no patterns or correlations in the digits. On this site, the first 10 billion digits also give each digit 10% of the total, to within 0.0007%.
What this study cannot say
- There is only one list. Every test uses the same 1,589 signals, in the same order. Reading more digits of pi brings no new signals.
- Some results were chosen after looking. A few results were measured again precisely because they stood out most in their group, that is, they were chosen after the numbers were seen. So this article trusts only what holds up on digits nobody has looked at.
- Small gaps cannot be seen. The tests rule out patterns as strong as those once seen. A much weaker pattern could still slip through.
- The ways of looking are endless. We tried position, direction, letters, colors, codes, music, 3D maps. A pattern that shows only under a reading nobody has thought of, or behind a cipher with a key, would not be seen here.
- The blind reader is a machine. The blind readings were done by an AI model; none has been done by a person yet.
- The digits come from one source. From the 10 billionth digit on, the digits come only from Google's computation, with the md5 of every file checked.
- This is not a proof. Finding no pattern in 3 trillion digits does not prove that pi is normal, and says nothing about the digits farther out.
Two tests written down beforehand are still waiting. They can only run when new signals arrive, because only numbers that did not exist when the rules were written are truly independent of everything already looked at.
Look for a number in pi yourself
You can try the first part of the story yourself: type a date, a phone number or any number and see where it lies in the first 10 billion digits of pi. A date of 8 digits is sure to be there. A number of 10 digits, such as a phone number, has about a 63% chance of being there. Being there does not mean the number was written for you, but seeing it among the digits of pi is still a pleasure. To find a birthday, see is your birthday in pi.
Frequently asked questions
Is pi random?
The digits of pi are fixed by mathematics, not produced at random. But in the tests of this study they behave like random digits: 1,392 tests on 3 trillion digits gave 51 unusual results, where chance alone produces about 70.
Is the future already in pi?
Tomorrow's date, written as 8 digits, is certainly in pi, like every other day, including days on which nothing happens. Pi does not say which number is real: to find the place of a number you must already know the number.
Is there a pattern in the digits of pi?
This study found no pattern that held up. Six times a pattern seemed to appear. Five did not hold up in their final test on new digits, and one was a flaw of the test.
Can pi be used to predict anything?
Not in this study. 174 ways of guessing the next number, most of them from the places of the earlier numbers in pi, all scored around 50, the level of a blind pick.
Is every number of 12 digits in pi?
It has not been proved, but the measurements point that way. All 1,589 recorded numbers in the study have appeared, the last one around digit 6.33 trillion, on the schedule chance predicts.