|
|
A280380
|
|
First occurrence of A280379(k) = n.
|
|
0
|
|
|
|
OFFSET
|
0,2
|
|
COMMENTS
|
n < log(a(n)) for a(n) < 1.1*10^6.
|
|
LINKS
|
|
|
EXAMPLE
|
For prime(30)=113, A056171(113) = 14, A104272(12)=107 and A104272(13) = 127, so 14 - 12 = 2 (First occurrence).
|
|
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
|
|
|
STATUS
|
approved
|
|
|
|