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.

A176462 Numbers k such that neither k-1 nor k+1 is prime or semiprime.

Original entry on oeis.org

0, 17, 19, 29, 31, 41, 43, 49, 51, 53, 55, 65, 67, 69, 71, 77, 79, 89, 91, 97, 99, 101, 103, 109, 111, 113, 115, 125, 127, 129, 131, 137, 139, 149, 151, 153, 155, 161, 163, 169, 171, 173, 175, 181, 183, 185, 187, 189, 191, 197, 199, 209, 211, 221, 223, 229, 231
Offset: 1

Views

Author

Juri-Stepan Gerasimov, Apr 18 2010

Keywords

Comments

a(n+1) is the (n+2)-th odd sum of two consecutive nonnegative nonprimes.

Examples

			0 is a term because neither 0-1=-1 nor 0+1=1 is prime or semiprime.
		

Crossrefs

Cf. A141468.

Programs

Formula

a(n+1) = A166685(n+2).

Extensions

Entries checked by R. J. Mathar, Apr 20 2010