OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..385
FORMULA
a(n) = Sum_{d|n} A068327(d). - R. J. Mathar, Oct 19 2021
EXAMPLE
a(4) = (1^1)' + (2^2)' + (4^4)' = 1' + 4' + 256' = 0 + 4 + 1024 = 1028.
MAPLE
A347146 := proc(n)
add(A068327(d), d=numtheory[divisors](n)) ;
end proc:
seq( A347146(n), n=1..10) ; # R. J. Mathar, Oct 19 2021
MATHEMATICA
d[0] = d[1] = 0; d[n_] := n * Plus @@ ((Last[#]/First[#]) & /@ FactorInteger[n]); a[n_] := DivisorSum[n, d[#^#] &]; Array[a, 20] (* Amiram Eldar, Oct 16 2021 *)
PROG
(PARI) ad(n) = vecsum([n/f[1]*f[2]|f<-factor(n+!n)~]); \\ A003415
a(n) = sumdiv(n, d, ad(d^d)); \\ Michel Marcus, Oct 18 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Oct 16 2021
STATUS
approved