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.

A028815 a(n) = prime(n) + 1 (starting with 1).

Original entry on oeis.org

2, 3, 4, 6, 8, 12, 14, 18, 20, 24, 30, 32, 38, 42, 44, 48, 54, 60, 62, 68, 72, 74, 80, 84, 90, 98, 102, 104, 108, 110, 114, 128, 132, 138, 140, 150, 152, 158, 164, 168, 174, 180, 182, 192, 194, 198, 200, 212, 224, 228, 230, 234, 240, 242, 252, 258, 264, 270, 272, 278, 282, 284
Offset: 0

Views

Author

Keywords

Comments

n-th noncomposite (unit or prime) positive integer + 1.
The "0th prime" is defined to be 1 (a unit, formerly considered to be prime).

Crossrefs

Programs

Formula

a(n) = prime(n) + 1 = A000040(n) + 1 = A008864(n) for n >= 1.
a(n) = A008578(n+1) + 1, n >= 0.
a(n) = 2*A006254(n-1), for n >= 2, with a(0) = 2, a(1) = 3. - G. C. Greubel, Aug 05 2024