OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
26 appears in the sequence because 26 = 2*13 that is semiprime. Also, 3+5+7+11 = 26.
158 appears in the sequence because 158 = 2*79 that is semiprime. Also, 3+5+7+11+13+17+19+23+29+31 = 158.
MAPLE
P:= select(isprime, [seq(i, i=3..10^4, 2)]):
select(t -> numtheory:-bigomega(t)=2, ListTools:-PartialSums(P)); # Robert Israel, Sep 23 2019
MATHEMATICA
Select[a = 0; Table[a = a + Prime[k], {k, 2, 300}], PrimeOmega[#] == 2 &]
PROG
(PARI) s = 0; forprime(p=3, 1e4, s + = p; if (bigomega(s)==2, print1(s, ", ")))
CROSSREFS
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Jun 12 2016
STATUS
approved