OFFSET
1,1
COMMENTS
Number of terms < 10^k: 0, 2, 6, 13, 20, 24, 35, 49, 62, 68, 79, 91, ..., . - Robert G. Wilson v, May 19 2015
LINKS
Giovanni Resta, Table of n, a(n) for n = 1..91 (terms < 10^12, first 58 terms from Robert G. Wilson v)
MATHEMATICA
sopfr[n_] := Plus @@ Times @@@ FactorInteger@ n; sopfr[1] = 0; ls = Table[0, {50}]; k = 1; lst = {}; While[k < 10^7, If[ MemberQ[ Accumulate@ ls, k], AppendTo[lst, k]]; ls = Join[{sopfr@ k}, Drop[ls, -1]]; k++]; lst (* dated May 15 2015 and modified after a suggestion from Giovanni Resta in a private e-mail dated Apr 20 2015 to Robert G. Wilson v, May 21 2015 *)
PROG
(PARI) sopfr(n)=my(f=factor(n)); sum(i=1, #f[, 1], f[i, 1]*f[i, 2]);
is(n)=if(n<23, return(0)); my(s); for(k=1, n, s+=sopfr(n-k); if(s>=n, return(n==s))) \\ Charles R Greathouse IV, May 15 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, May 15 2015
STATUS
approved