OFFSET
0,1
COMMENTS
a(60) = a(82) = a(142) = 0. - Jonathan Vos Post, Jun 16 2005
EXAMPLE
a(0) = 3 because between 0 and 9 there are three semiprimes: 4, 6 and 9.
a(1) = 3 because between 10 and 19 there are three semiprimes: 10, 14 and 15.
MATHEMATICA
f[n_] := Sum[ PrimePi[n/Prime[i]] - (i - 1), {i, PrimePi[ Sqrt[n]]}]; Table[f[10n + 9] - f[Max[10n - 1, 0]], {n, 0, 104}] (* Robert G. Wilson v, Ray Chandler *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Jun 16 2005
EXTENSIONS
Edited and extended by Ray Chandler, Jul 07 2005
STATUS
approved