OFFSET
1,2
COMMENTS
a(n) = n + A001414(n).
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
EXAMPLE
a(6)=11 because 6=2*3, sopfr(6)=2+3=5 and 6+5=11.
MAPLE
MATHEMATICA
Table[If[n==1, 1, n +Plus@@Times@@@FactorInteger@n], {n, 80}] (* G. C. Greubel, Jan 10 2019 *)
PROG
(Haskell)
a075254 n = n + a001414 n -- Reinhard Zumkeller, Feb 27 2012
(PARI) a(n) = my(f = factor(n)); n += sum(k=1, #f~, f[k, 1]*f[k, 2]); \\ Michel Marcus, Feb 22 2017
(Magma) [n eq 1 select 1 else (&+[p[1]*p[2]: p in Factorization(n)]) + n: n in [1..80]]; // G. C. Greubel, Jan 10 2019
(Sage) [n + sum(factor(n)[j][0]*factor(n)[j][1] for j in range(0, len(factor(n)))) for n in range(1, 80)] # G. C. Greubel, Jan 10 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Sep 10 2002
STATUS
approved