OFFSET
1,1
COMMENTS
If k=10^s*m is a term of the sequence where s > 0 and gcd(m,10)=1, then for each positive integer j, 10^j*m is in the sequence, because the sum of the digits of 10^j*k equals the sum of the digits of k and the sum of the distinct prime factors of 10^j*k equals the sum of the distinct prime factors of k. Also it is obvious that m isn't in the sequence. [Jahangeer Kholdi, Oct 07 2013]
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..10000
MATHEMATICA
Rest[Select[Range[20000], Total[Transpose[FactorInteger[#]][[1]]] == Total[ IntegerDigits[#]] &]] (* Harvey P. Dale, Dec 15 2010 *)
PROG
(PARI) isok(n) = sumdigits(n) == vecsum(factor(n)[, 1]); \\ Michel Marcus, May 27 2018
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Benoit Cloitre, May 09 2002
STATUS
approved