OFFSET
1,2
FORMULA
a(p) = p + 1 for primes p, since we have a(p) = p^(1') + p^(p') = p^0 + p^1 = p + 1.
EXAMPLE
a(4) = 261; a(4) = 4^(1') + 4^(2') + 4^(4') = 4^0 + 4^1 + 4^4 = 1 + 4 + 256 = 261.
PROG
(PARI) ad(n) = vecsum([n/f[1]*f[2]|f<-factor(n+!n)~]); \\ A003415
a(n) = sumdiv(n, d, n^ad(d)); \\ Michel Marcus, Oct 10 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Oct 09 2021
STATUS
approved