OFFSET
1,3
COMMENTS
Numbers of previous and following semiprimes of n-th prime.
EXAMPLE
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
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Apr 02 2010
EXTENSIONS
Corrected by Ray Chandler, Apr 06 2010
STATUS
approved