OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
spQ[n_] := Plus @@ Last /@ FactorInteger@n == 2; sp = Select[Range@300, spQ[ # ] &]; f[n_] := Length[Select[Take[sp, n], EvenQ[ # ] &]]; Array[f, 76] (* Robert G. Wilson v *)
Accumulate[If[EvenQ[#], 1, 0]&/@Select[Range[300], PrimeOmega[#]==2&]] (* Harvey P. Dale, Sep 10 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Dec 01 2005
EXTENSIONS
More terms from Stefan Steinerberger and Robert G. Wilson v, Dec 02 2005
STATUS
approved