TOPICS
Search

Prime-Indexed Prime


A prime-indexed prime is a prime number whose position in the increasing sequence of prime numbers is itself prime. If p_n is the nth prime number, then the nth prime-indexed prime is p_(p_n) for n=1, 2, .... The sequence begins 3, 5, 11, 17, 31, 41, 59, 67, 83, 109, ... (OEIS A006450). These numbers are also called superprimes. For example, 67 is the 19th prime number, and 19 is prime (Numberphile 2025, 7:53).

The number of prime-indexed primes up to x is pi(pi(x)), where pi is the prime counting function. Indeed, the first pi(x) prime numbers are at most x, and exactly pi(pi(x)) of their indices are prime. By the prime number theorem, this count is asymptotic to x/(logx)^2 (Broughan and Barnett 2009).


See also

Prime Counting Function, Prime Number, Prime Number Theorem

Explore with Wolfram|Alpha

References

Broughan, K. A. and Barnett, A. R. "On the Subsequence of Primes Having Prime Subscripts." J. Integer Seq. 12, Article 09.2.3, 2009. https://cs.uwaterloo.ca/journals/JIS/VOL12/Broughan/broughan16.html.Numberphile. "Super Facts about 6-7." Featuring T. Padilla. Dec. 22, 2025. https://www.youtube.com/watch?v=Lw-D8ThqWaE.Sloane, N. J. A. Sequence A006450 in "The On-Line Encyclopedia of Integer Sequences."

Cite this as:

Weisstein, Eric W. "Prime-Indexed Prime." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Prime-IndexedPrime.html

Subject classifications