cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A280380 First occurrence of A280379(k) = n.

Original entry on oeis.org

1, 2, 30, 46, 374, 2146, 5945, 14855, 24702
Offset: 0

Views

Author

John W. Nicholson, Jan 09 2017

Keywords

Comments

n < log(a(n)) for a(n) < 1.1*10^6.

Examples

			For prime(30)=113, A056171(113) = 14, A104272(12)=107 and A104272(13) = 127, so 14 - 12 = 2 (First occurrence).
		

Crossrefs

Programs

  • 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++)
    )
    }