login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Revision History for A006450

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Prime-indexed primes: primes with prime subscripts.
(history; published version)
#176 by Charles R Greathouse IV at Thu Sep 08 08:44:34 EDT 2022
PROG

(MAGMAMagma) [ NthPrime(NthPrime(n)): n in [1..51] ]; // Jason Kimberley, Apr 02 2010

Discussion
Thu Sep 08
08:44
OEIS Server: https://oeis.org/edit/global/2944
#175 by N. J. A. Sloane at Thu Apr 07 10:44:09 EDT 2022
STATUS

proposed

approved

#174 by Michael De Vlieger at Wed Apr 06 22:29:53 EDT 2022
STATUS

editing

proposed

#173 by Michael De Vlieger at Wed Apr 06 21:32:58 EDT 2022
LINKS

Ernest G. Hibbs, <a href="https://www.proquest.com/openview/4012f0286b785cd732c78eb0fc6fce80">Component Interactions of the Prime Numbers</a>, Ph. D. Thesis, Capitol Technology Univ. (2022), see p. 33.

STATUS

approved

editing

#172 by Jon E. Schoenfield at Fri Jan 14 23:58:45 EST 2022
STATUS

proposed

approved

#171 by Jon E. Schoenfield at Fri Jan 14 23:58:37 EST 2022
STATUS

editing

proposed

#170 by Jon E. Schoenfield at Fri Jan 14 23:58:34 EST 2022
COMMENTS

Lim_Limit_{n->infinity} a(n)/(n*(log(n))^2) = 1. Proof: By Cipolla's asymptotic formula, prime(n) ~ L(n) + R(n), where L(n)/n = log(n) + log(log(n)) - 1 and R(n)/n decreases logarithmically to 0. Hence, for large n, a(n) = prime(prime(n)) ~ L(L(n)+R(n)) + R(L(n)+R(n)) = n*(log(n))^2 + r(n), where r(n) grows as O(n*log(n)*log(log(n))). The rest of the proof is trivial. The convergence is very slow: for k = 1,2,3,4,5,6, sqrt(a(10^k)/10^k)/log(10^k) evaluates to 2.055, 1.844, 1.695, 1.611, 1.545, and 1.493, respectively. - Stanislav Sykora, Dec 09 2015

STATUS

approved

editing

#169 by N. J. A. Sloane at Wed Aug 11 22:09:47 EDT 2021
STATUS

proposed

approved

#168 by Michael S. Branicky at Wed Aug 11 18:01:49 EDT 2021
STATUS

editing

proposed

#167 by Michael S. Branicky at Wed Aug 11 17:53:10 EDT 2021
PROG

(Python)

from sympy import prime

def a(n): return prime(prime(n))

print([a(n) for n in range(1, 52)]) # Michael S. Branicky, Aug 11 2021

(Python) # much faster version for initial segment of sequence

from sympy import nextprime, isprime

def aupton(terms):

alst, p, pi = [], 2, 1

while len(alst) < terms:

if isprime(pi): alst.append(p)

p, pi = nextprime(p), pi+1

return alst

print(aupton(10000)) # Michael S. Branicky, Aug 11 2021

STATUS

approved

editing

Discussion
Wed Aug 11
18:01
Michael S. Branicky: verified entire b-file