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.

A092839 Indices of primes in A001003.

Original entry on oeis.org

3, 4, 6, 10, 216
Offset: 1

Views

Author

Eric W. Weisstein, Mar 07 2004

Keywords

Comments

a(6), if it exists, is > 1.5*10^6. - Robert Price, Apr 16 2014

Crossrefs

Programs

  • PARI
    s(m)= { if (m==1, return(a1)); if (m==2, return(a2)); r = (3*(2*m - 3)*a2 - (m - 3)*a1)/m; a1=a2; a2=r; return(r); }
    { a1=1; a2=1; n=0; for (m=1, 300, a=s(m); if (isprime(a), n++; print1(m, ", "))); } \\ Harry J. Smith, Jun 21 2009