OFFSET
1,4
LINKS
M. F. Hasler, Table of n, a(n) for n = 1..9592
MATHEMATICA
s = Select[Range@1000, Plus @@ Last /@ FactorInteger@ # == 2 &]; Table[ Length@Select[s, # < Prime@n &], {n, 70}] (* Robert G. Wilson v *)
Module[{nn=500, sp}, sp=Table[If[PrimeOmega[n]==2, 1, 0], {n, nn}]; Table[ Total[ Take[sp, p]], {p, Prime[Range[PrimePi[nn]]]}]] (* Harvey P. Dale, Aug 22 2019 *)
PROG
(PARI) n=c=0; forprime(p=1, 999, while(n<p, bigomega(n++)==2&&c++); print1(c", ")) \\ M. F. Hasler, Jan 02 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Nov 15 2005
EXTENSIONS
More terms from Robert G. Wilson v and Stefan Steinerberger, Nov 18 2005
Title edited by M. F. Hasler, Jan 02 2015
STATUS
approved