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.

A164653 a(1) = 1, for n>=2: a(n) = sum of two consecutive noncomposite numbers A008578.

Original entry on oeis.org

1, 3, 5, 8, 12, 18, 24, 30, 36, 42, 52, 60, 68, 78, 84, 90, 100, 112, 120, 128, 138, 144, 152, 162, 172, 186, 198, 204, 210, 216, 222, 240, 258, 268, 276, 288, 300, 308, 320, 330, 340, 352, 360, 372, 384, 390, 396, 410, 434, 450, 456, 462, 472, 480, 492, 508
Offset: 1

Views

Author

Jaroslav Krizek, Aug 19 2009

Keywords

Comments

Basically these are the sums of two successive primes. - N. J. A. Sloane, Nov 16 2018
Essentially the same as A001043, A011974 and A069102.

Crossrefs

Programs

  • Mathematica
    ListConvolve[{1,1},Join[{0,1},Prime[Range[100]]]] (* Paolo Xausa, Nov 02 2023 *)

Formula

a(n) = A158611(n) + A158611(n+1).
a(n) = A008578(n-1) + A008578(n) for n >= 2.
a(n) = A076273(n-1) + 1 for n >= 2.
a(n) = A000040(n-1) + A008578(n-1) for n >= 2. - Jaroslav Krizek, Dec 13 2009

Extensions

Edited by R. J. Mathar, Aug 21 2009
Correction for change of offset in A158611 and A008578 in Aug 2009 by Jaroslav Krizek, Jan 27 2010
Formulas edited by Paolo Xausa, Nov 04 2023