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.

A166496 Prime plus the next composite.

Original entry on oeis.org

6, 7, 11, 15, 23, 27, 35, 39, 47, 59, 63, 75, 83, 87, 95, 107, 119, 123, 135, 143, 147, 159, 167, 179, 195, 203, 207, 215, 219, 227, 255, 263, 275, 279, 299, 303, 315, 327, 335, 347, 359, 363, 383, 387, 395, 399, 423, 447, 455, 459, 467, 479, 483, 503, 515, 527
Offset: 1

Views

Author

Zak Seidov, Oct 15 2009

Keywords

Comments

Differs from A072055 in the first term.

Examples

			a(1)=2+4=6,
a(2)=3+4=7,
a(3)=5+6=11.
		

Crossrefs

Cf. A072055.

Programs

  • Mathematica
    Prepend[2*Prime[Range[2,100]]+1,6]

Formula

a(n)=prime(n)+smallest composite > prime(n).