OFFSET
1,2
COMMENTS
There are no semiprimes strictly between 2*prime(n) and 2*prime(n+1).
EXAMPLE
a(1)=1 because 2*prime(1)=4=semiprime(1) and 2*prime(1+1)=6=semiprime(2).
a(2)=3 because 2*prime(3)=10=semiprime(4) and 2*prime(3+1)=14=semiprime(5).
MATHEMATICA
PrimePi[First[#]]&/@Select[Partition[Select[Range[20000], PrimeOmega[#] == 2&], 2, 1]/2, And@@IntegerQ/@#&] (* Harvey P. Dale, Nov 19 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Mar 29 2010
EXTENSIONS
Edited, corrected and extended by Ray Chandler, Apr 07 2010
STATUS
approved