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.

A259311 First differences of A098058.

Original entry on oeis.org

1, 2, 6, 6, 6, 6, 2, 10, 6, 6, 6, 2, 10, 2, 10, 18, 6, 6, 18, 6, 2, 10, 2, 6, 10, 6, 6, 2, 10, 6, 30, 6, 6, 2, 10, 6, 6, 6, 2, 10, 2, 10, 18, 6, 14, 6, 10, 6, 14, 6, 10, 26, 10, 2, 10, 2, 10, 18, 42, 18, 2, 18, 6, 10, 6, 6, 2, 6, 10, 6, 6, 2, 6, 10
Offset: 1

Views

Author

Zak Seidov, Jun 24 2015

Keywords

Comments

No term is divisible by 4, see comments in A098058.

Crossrefs

Cf. A098058.

Programs

  • PARI
    lista(n) = for(x=1, n, z=(prime(x+1)-prime(x)); if(z%4, print1(z, ", "))) \\ Michel Marcus, Jun 24 2015

Formula

a(n) = A098058(n+1)-A098058(n).