OFFSET
1,3
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
Mizan R. Khan, A variant of the divisor functions sigma_a(n), JP Journal of Algebra, Number Theory and Applications, Vol. 5, No. 3 (2005), pp. 561-574.
FORMULA
Multiplicative with a(p^e) = p^e - e.
Dirichlet g.f.: zeta(s-1)*zeta(s)^2 * Product_{p prime} (1 - 3/p^s + 1/p^(2*s-1) + 1/p^(2*s)).
Sum_{k=1..n} a(k) ~ c * n^2, where c = (1/2) * Product_{p prime} (1 - p/((p-1)*(p+1)^2)) = 0.3243742337... .
MATHEMATICA
f[p_, e_] := p^e - e; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100]
PROG
(PARI) a(n) = {my(f = factor(n)); prod(i = 1, #f~, f[i, 1]^f[i, 2] - f[i, 2]); }
CROSSREFS
KEYWORD
nonn,mult
AUTHOR
Amiram Eldar, Feb 10 2023
STATUS
approved