Pi prime

Pi primes
No. of known terms5 (+3 probable primes)
First terms3, 31, 314159
Largest known termFirst 16208 digits of pi (probable: first 613373 digits of pi)
OEIS indexA005042

In mathematics, a pi prime is a prime number appearing in the initial digits of the decimal expansion of the constant pi.

Definition

Let be the integer formed by the first digits of pi. We call a pi prime when this value is a prime number. Below is a list of known and probable pi primes.

Known primes

Probable primes

History

In 1979, Robert Baillie and Marvin Wunderlich found that is prime.

In 2001, Ed T. Prothro found that the first 16208 digits of pi form a probable prime, and that after , all such numbers with fewer than 16208 digits are composite numbers. In 2026, Robert Baillie proved that was prime.

In 2006, Eric Weisstein showed that the next two possible pi primes have 47577 and 78073 digits. In 2016, A. Bondrescu showed that, after 78073, the next possible pi prime has 613373 digits. As of 2026, it has not been proven that any of these three numbers are primes.

A heuristic argument suggests that the sequence of pi primes is infinite.

Extensions

An alternative definition considers only the decimal portion of pi, i.e. digits after the starting 3. In this definition we define to be the integer formed by the first digits of the decimal part of pi. Using this definition, is prime when .

The notion of pi primes can be extended to other constants with infinite decimal expansions, for example, e and the golden ratio. Primes of this form are known as constant primes or A-primes.

See also

References

  1. 1 2 Weisstein, Eric W. "Pi-Prime". mathworld.wolfram.com.
  2. 1 2 Sloane, N. J. A. (ed.). "Sequence A005042 (Primes formed by the initial digits of the decimal expansion of Pi)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  3. ↑ Martin Gardner. "Primes formed by the initial digits of the decimal expansion of Pi" (PDF). The On-Line Encyclopedia of Integer Sequences.
  4. ↑ Sloane, N. J. A. (ed.). "Sequence A060421 (Numbers k such that the first k digits of the decimal expansion of Pi form a prime.)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation.
  5. ↑ "Prime Curios (16208 Digits)". Prime Curios. Retrieved 2026-05-19.
  6. ↑ "factordb.com". Factor Database. Retrieved 2026-06-15.
  7. ↑ Gupta, Shyam Sunder (2025). "Mystery of π". Exploring the Beauty of Fascinating Numbers. Springer Praxis Books. Springer Nature. pp. 487–8. doi:10.1007/978-981-97-2465-9_19. ISBN 978-981-97-2465-9.
  8. ↑ Weisstein, Eric W. "Constant Primes". MathWorld. Retrieved 23 October 2026.