OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..2400
EXAMPLE
The sum of the distinct prime factors of 23156 is 2 + 7 + 827 = 836; the sum of the distinct prime factors of 23155 is 5 + 11 + 421 = 437; the sum of the distinct prime factors of 23154 is 2 + 3 + 17 + 227 = 249; the sum of the distinct prime factors of 23153 is 13 + 137 = 150; and 836 = 437 + 249 + 150. Hence 23156 belongs to the sequence.
MATHEMATICA
p[n_] := Apply[Plus, Transpose[FactorInteger[n]][[1]]]; Select[Range[5, 10^5], p[ # - 1] + p[ # - 2] + p[ # - 3] == p[ # ] &]
Flatten[Position[Partition[Table[Total[FactorInteger[n][[All, 1]]], {n, 8054000}], 4, 1], _?(Total[Most[#]]==Last[#]&)]//Quiet]+3 (* Harvey P. Dale, Feb 22 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Oct 18 2002
EXTENSIONS
Edited and extended by Ray Chandler, Feb 13 2005
STATUS
approved