πKNOWS Blog

Pi digit search: find any number or word in pi

This pi digit search looks through the first 10,000,000,000 digits of pi. Type digits or a word, press Search, and the map flies to the place in pi where it appears.

Search for a number in pi

Type up to 200 digits: a birthday, a phone number, any number you like. The result shows the position where they first appear, how many times they appear in the first 10 billion digits, and the digits around them. Press Next to go to the following place. After the last one it starts again from the first.

Pi digit search result for 14031879: position 74,434,701, occurrence 1 of 105 in the first 10 billion digits
A result: the position, how many times the digits appear, and the same digits read as text, colors, bits and musical notes.

What the position means

Positions count from the first digit after the decimal point. In 3.14159 the 1 is at position 1 and the 4 at position 2. Six nines in a row first appear at position 762, a spot known as the Feynman point.

Search 999999

Search for a word in pi

Letters work too, up to 100 of them. Each pair of digits reads as a letter: 00 is a, 01 is b and so on to 25 for z, then 26 is a again, round the alphabet up to 99. So every letter has three or four spellings:

The word hello first appears at position 310,131 as 59 30 37 63 66: 59 is h, 30 is e, 37 and 63 are l, and 66 is o. It appears 993 times in the first 10 billion digits.

The word HELLO found in the digits of pi at position 310,131, shown in the letters view
The letters view: every pair of digits shown as its letter, with HELLO lit up.

Five ways to see the digits of pi

The map around a result can show the digits as numbers, as letters, in color or in black and white, as bits, or as musical notes you can play. Colors make runs easy to spot: the six nines of the Feynman point stand out as one block.

The colors view of pi search: one color per digit, six nines in a row at position 762
Colors: one color per digit. The Feynman point at position 762.
The music view of pi search: digits as notes of the C major scale, 314159 found at position 176,451
Music: each digit is a note of the C major scale. Press Play to hear 314159, found again at position 176,451.

How far the search reaches

The search covers the first 10,000,000,000 digits. Every string of up to 8 digits is there. A 10 digit string is there about two times in three, an 11 digit string about one time in ten. The numbers behind this are in is your birthday in pi.

Frequently asked questions

How many digits of pi can I search?

The first 10,000,000,000 digits after the decimal point.

How long can my search be?

Up to 200 digits, or up to 100 letters.

Why is my number not found?

Long strings are rare. A 10 digit string is in the first 10 billion digits about two times in three, an 11 digit string about one time in ten. Try a shorter form, such as a 6 digit date.

Can I search words with accents?

Type them without accents. Each pair of digits reads as one of the letters a to z, so accents and other symbols are left out.