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.

A134851 Number of primes between A001605(n) and A001605(n+1).

Original entry on oeis.org

0, 1, 1, 1, 1, 1, 2, 1, 4, 1, 8, 9, 1, 39, 11, 1, 3, 10, 7, 1, 324, 208, 73, 442, 42, 498, 1122, 502, 508, 147, 1235, 2796, 2014, 2145, 1520, 4388, 15584, 2814, 11888, 274, 826, 24119, 8554, 16877, 24680, 11591, 11503, 63625, 22803, 6374, 92008, 115147, 79772, 157711, 3110
Offset: 1

Views

Author

Artur Jasinski, Nov 13 2007

Keywords

Crossrefs

Programs

  • Mathematica
    a = {}; k = {}; Do[If[PrimeQ[Fibonacci[n]], AppendTo[k, n]], {n, 1, 1000}]; Do[AppendTo[a, PrimePi[k[[n + 1]]] - PrimePi[k[[n]]]], {n, 1, 20}]; a

Formula

a(n) = primepi(A001605(n+1)) - primepi(A001605(n)). - Amiram Eldar, Sep 01 2019

Extensions

More terms from Amiram Eldar, Sep 01 2019 and Sep 15 2024