OFFSET
1,1
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
EXAMPLE
14 = 2^1*7^1, a(14) = 2*7 + 1*1 = 15.
MATHEMATICA
Array[Times @@ #1 + Times @@ #2 & @@ Transpose@ FactorInteger[#] &, 74] (* Michael De Vlieger, Feb 18 2022 *)
PROG
(PARI) a(n) = my(f=factor(n)); prod(k=1, #f~, f[k, 1]) + prod(k=1, #f~, f[k, 2]); \\ Michel Marcus, Feb 18 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved