Skip to content
UniKit

Pi digit search

Search any digit string inside the true first 10000 decimals of pi and get the first position, every occurrence and the surrounding digits: 999999 first appears at position 762 and 2026 at position 3118.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Digit string to search

Search result

Positions count from the first decimal digit.

Enter a digit string to search

Found: 0 · First position: 0 · Occurrences: 0

What this tool does

  • Settle claims about pi: check whether a digit string appears and where.
  • Classroom demos: short strings recur often while long ones are vanishingly rare.
  • Give a birthday or ID a fun coordinate in pi.

Example

Input

999999

Output

The digit string 999999 first appears at decimal position 762 of pi.
It occurs only once in the first 10000 digits.
Context (from position 757): 2113499999983729
Probability note: 6-digit strings first appear about every 10^6 digits.

“999999” first appears at decimal position 762 — the Feynman point — followed by an 8 at position 768.

Frequently asked questions

Why do some strings not appear?

Only the first 10000 digits are searched. An n-digit string first appears at an expected position of about 10ⁿ, so a 5-digit string needs roughly 100000 digits and an 8-digit one about 100 million. Missing longer strings in 10000 digits is normal.

Why is 999999 so early?

Positions 762–767 happen to be six 9s, far earlier than the expected millionth digit. This is the famous Feynman point, often cited to show that random sequences contain apparently non-random patterns.

Is the search case or punctuation sensitive?

No. Non-digit characters are stripped, so 2026-01-01 and 2026/01/01 both become 20260101.

Does position 1 mean the first decimal?

Yes. Position 1 is the first decimal digit 1 (π = 3.14159…); the integer 3 is not counted, matching the usual convention.

Can it search a million digits?

No — the page embeds 10000 digits. Longer ranges would need a data file of about 1 MB per million digits.

Keywords:pi searchpi digits

Related tools