OFFSET
1,1
COMMENTS
a(n) ~ n^(3/2) as n -> oo.
FORMULA
Limit_{N->oo} (Sum_{n=2..N} log(a(n))) / (Sum_{n=2..N} log(n)) = 3/2.
EXAMPLE
a(1) = 11 since 11 is the smallest prime for which we find the only prime 13 between 11 and 11+1*log(11)=13.39.. .
a(2) = 37 since 37 is the smallest prime for which we find the two primes 41 and 43 between 37 and 37+2*log(37)=44.22.. .
PROG
(PARI) for(K=1, 50, forprime(P=2, 50^2, AR=P+K*log(P); NPR=primepi(AR)-primepi(P); if(NPR==K, print1(P, ", "); break())));
(PARI) a(n) = my(p=2); while (primepi(p+n*log(p)) - primepi(p) != n, p=nextprime(p+1)); p; \\ Michel Marcus, Feb 21 2025
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Alain Rocchelli, Feb 19 2025
STATUS
approved