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.

A174950 Size of sea of semiprimes surrounding n-th prime.

Original entry on oeis.org

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

Views

Author

Juri-Stepan Gerasimov, Apr 02 2010

Keywords

Comments

Numbers of previous and following semiprimes of n-th prime.

Examples

			a(1)=0 because first prime is in a sea of 0 semiprimes; a(2)=1 because 2nd prime is in a sea of 1 semiprimes (3, 4); a(3)=2 because 3rd prime is in a sea of 2 semiprimes (4, 5, 6); a(4)=1 because 4th prime is in a sea of 1 semiprimes (6, 7); a(4)=2 because 5th prime is in a sea of 2 semiprimes (9, 10, 11).
		

Crossrefs

Extensions

Corrected by Ray Chandler, Apr 06 2010