OFFSET
0,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1667
FORMULA
a(n) = (1/(4*n)) * Sum_{odd d divides n} phi(d)*4^(n/d) for n > 0.
a(n+1) = A300628(n,0).
MATHEMATICA
a[n_] := DivisorSum[n, EulerPhi[#] * 4^(n/#) &, OddQ[#] &] / (4*n); a[0] = 1; Array[a, 30, 0] (* Amiram Eldar, Oct 04 2023 *)
PROG
(PARI) a(n) = if (n==0, 1, sumdiv(n, d, if (d % 2, eulerphi(d)*4^(n/d)))/(4*n)); \\ Michel Marcus, Mar 11 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Mar 10 2018
STATUS
approved