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.

A059789 Distance of 2*prime(n) from previous prime.

Original entry on oeis.org

1, 1, 3, 1, 3, 3, 3, 1, 3, 5, 1, 1, 3, 3, 5, 3, 5, 9, 3, 3, 7, 1, 3, 5, 1, 3, 7, 3, 7, 3, 3, 5, 3, 1, 5, 9, 1, 9, 3, 9, 5, 3, 3, 3, 5, 1, 1, 3, 5, 1, 3, 11, 3, 3, 5, 3, 15, 1, 7, 5, 3, 9, 1, 3, 7, 3, 1, 1, 3, 7, 5, 9, 1, 3, 1, 5, 5, 7, 5, 7, 9, 3, 3, 3, 1, 3, 11, 3, 3, 7, 5, 5, 3, 5, 1, 9, 5, 3, 7, 13, 1, 5, 3
Offset: 0

Views

Author

Labos Elemer, Feb 22 2001

Keywords

Crossrefs

Programs

  • Maple
    with(numtheory): [seq(2*ithprime(k)-prevprime(2*ithprime(k)),k=1..256)];