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.

A172069 The number of primes adjacent to A129912(n): 0, 1 or 2.

Original entry on oeis.org

1, 1, 2, 2, 2, 2, 2, 1, 1, 2, 1, 2, 1, 1, 2, 1, 1, 0, 1, 1, 0, 0, 0, 1, 2, 0, 2, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 2, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 0, 1, 1, 2, 0, 0
Offset: 1

Views

Author

Bill McEachen, Jan 24 2010

Keywords

Examples

			Both 415799 and 415801 are prime, so the entry at 415800 (n=27) is a 2 (twin primes).
Neither 27719 nor 27721 are prime, so the entry at 27720 (n=18) is a 0.
		

Crossrefs

Cf. A129912.

Extensions

Offset corrected and sequence extended by R. J. Mathar, Feb 19 2010
a(1) added by T. D. Noe, Nov 11 2013