OFFSET
1,3
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
Multiplicative with a(p) = 2*p - 3 and a(p^e) = (e*(p-1) + p + 2) * (p-1)^2 * p^(e-3) for e > 1. - Amiram Eldar, Aug 31 2023
EXAMPLE
MAPLE
read("transforms") : A029935 := proc(n) local a, d ; a := 0 ; for d in numtheory[divisors](n) do a := a+ numtheory[phi](d)*numtheory[phi](n/d); od; RETURN(a) ; end: a029935 := [seq(A029935(n), n=1..300)] ; a143275 := MOBIUS(a029935) ; # R. J. Mathar, Jan 19 2009
MATHEMATICA
f[p_, e_] := If[e > 1, (e*(p-1) + p + 2) * (p-1)^2 * p^(e-3), 2*p - 3]; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Aug 31 2023 *)
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Gary W. Adamson, Aug 03 2008
EXTENSIONS
More terms from R. J. Mathar, Jan 19 2009
STATUS
approved