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.

A096499 Difference between prime following and prime preceding n-th repunit.

Original entry on oeis.org

6, 4, 8, 20, 10, 60, 16, 4, 24, 54, 46, 46, 70, 176, 84, 12, 40, 134, 104, 104, 92, 24, 84, 270, 300, 130, 414, 90, 88, 240, 148, 198, 12, 64, 12, 300, 66, 70, 80, 102, 420, 142, 630, 140, 600, 88, 176, 312, 80, 96, 460, 132, 420, 284, 144, 408, 312, 180, 44, 300
Offset: 2

Views

Author

Labos Elemer, Jul 09 2004

Keywords

Examples

			n=2: 2nd repunit=11, 13-7=6=a[2].
		

Crossrefs

Programs

  • Mathematica
    <Harvey P. Dale, Sep 06 2015 *)

Formula

a(n) = A096497(n) - A096498(n) = A096869(n) + A096870(n).