OFFSET
1,6
EXAMPLE
a(1)=0 because there are no semiprimes in the range (2, 2+sqrt(2));
a(2)=1 because there is one semiprime (4) in the range (3, 3+sqrt(3)).
MAPLE
A192394 := proc(n) local a, p, s; a := 0 ; p := ithprime(n) ; for s from p to floor( p+sqrt(p)) do if isA001358(s) then a := a+1 ; end if; end do: a; end proc: # R. J. Mathar, Jul 01 2011
MATHEMATICA
(* First run A072000 to define semiPrimePi *) Table[semiPrimePi[Prime[n] + Sqrt[Prime[n]]] - semiPrimePi[Prime[n]], {n, 75}] (* Alonso del Arte, Jul 01 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Jun 29 2011
EXTENSIONS
Corrected by R. J. Mathar, Jul 01 2011
STATUS
approved