OFFSET
0,2
COMMENTS
n < log(a(n)) for a(n) < 1.1*10^6.
EXAMPLE
PROG
(PARI) \\RR[x] is a list of Ramanujan primes, A104272.
{plimit=1.1*10^6; i=n=s=0;
forprime(p=2, plimit,
s++;
if(p==RR[n+1], n++);
if(i==s-primepi(floor(p/2))-n, print(i, " ", s); i++)
)
}
CROSSREFS
KEYWORD
nonn
AUTHOR
John W. Nicholson, Jan 09 2017
STATUS
approved