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.

A137919 (Nextprime(24n)-previousprime(24n))/2.

Original entry on oeis.org

3, 3, 1, 4, 7, 5, 3, 1, 6, 1, 3, 5, 1, 3, 4, 3, 4, 1, 4, 4, 3, 9, 5, 3, 1, 6, 3, 6, 5, 4, 4, 4, 5, 5, 7, 7, 10, 4, 4, 7, 4, 6, 1, 5, 9, 3, 3, 1, 5, 4, 3, 6, 9, 3, 1, 17, 3, 9, 7, 4, 6, 1, 6, 6, 4, 7, 1, 5, 10, 12, 5, 5, 3, 9, 6, 4, 7, 1, 6, 9, 8, 11, 3, 3, 7, 3, 1, 1, 3, 4, 12, 3, 8, 8, 4, 6, 11, 3, 3, 6, 7, 6
Offset: 1

Views

Author

Zak Seidov, Feb 23 2008

Keywords

Comments

a(n)=1 if 24n -/+ 1 are twin primes.
Corresponding n's are in A137920.

Crossrefs

Programs

  • Mathematica
    Table[(NextPrime[24n]-NextPrime[24n,-1])/2,{n,110}] (* Harvey P. Dale, Apr 15 2015 *)
  • PARI
    a(n) = (nextprime(24*n) - precprime(24*n))/2; \\ Michel Marcus, Oct 13 2013