OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
FORMULA
a(n) + a(n-1) = A001358(n).
MAPLE
A001358 := proc(n) option remember ; if n =1 then 4; else for a from A001358(n-1)+1 do if numtheory[bigomega](a) = 2 then RETURN(a) ; fi ; od: fi ; end: A137462 := proc(n) option remember; if n =0 then 1; else A001358(n)-A137462(n-1) ; fi ; end: seq(A137462(n), n=0..100) ; # R. J. Mathar, Apr 23 2008
MATHEMATICA
Module[{nn=300, sp, k=1}, sp=Select[Range[nn], PrimeOmega[#]==2&]; Join[{1}, Table[k=sp[[n]]-k, {n, Length[sp]}]]] (* Harvey P. Dale, Apr 30 2015 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Apr 19 2008
EXTENSIONS
More terms from R. J. Mathar, Apr 23 2008
STATUS
approved