OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
omega(2310) = 5 = 1 + 2 + 2 = omega(2309) + omega(2308) + omega(2307), so 2310 belongs to the sequence.
MATHEMATICA
omega[n_] := Length[FactorInteger[n]]; a = {}; Do[If[omega[n] == omega[n - 1] + omega[n - 2] + omega[n - 3], a = Append[a, n]], {n, 1, 10^5}]; a
Flatten[Position[Partition[PrimeNu[Range[40000]], 4, 1], _?(#[[4]] == Total[ Take[ #, 3]]&), {1}, Heads->False]]+3 (* Harvey P. Dale, Oct 31 2016 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Nov 04 2002
STATUS
approved