OFFSET
1,1
LINKS
K. Brockhaus, Table of n, a(n) for n = 1..10000
EXAMPLE
21 is a term because the sum of the first 21 semiprimes is 647, which is prime.
MAPLE
isA180152 := proc(n) isprime( A062198(n)) ; end proc:
for n from 1 to 1000 do if isA180152(n) then printf("%d, ", n) ; end if; end do: # R. J. Mathar, Aug 14 2010
MATHEMATICA
Position[Accumulate[Select[Range[10000], PrimeOmega[#]==2&]], _?PrimeQ] // Flatten (* Harvey P. Dale, Feb 17 2021 *)
PROG
(Magma) SP:=[ n: n in [2..3000] | &+[ k[2]: k in Factorization(n) ] eq 2 ]; V:=[]; s:=0; for j in [1..640] do s+:=SP[j]; if IsPrime(s) then Append(~V, j); end if; end for; V; // Klaus Brockhaus, Aug 14 2010
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason G. Wurtzel, Aug 13 2010
EXTENSIONS
More terms from Klaus Brockhaus and R. J. Mathar, Aug 14 2010
STATUS
approved