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

2026

Output

「2026」在圆周率小数点后第 3118 位首次出现。
共找到 2 处:3118、6146
上下文(从第 3113 位起):34549202605414
参考概率:4 位数字串的期望出现间距约 10^4 位。

“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 searchπ 查询数字串查找圆周率第几位pi digits999999 位置数字出现位置

Related tools