OFFSET
1,2
COMMENTS
Dirichlet convolution of the sequence of (absolute values of A055615) and A007434. - R. J. Mathar, Feb 27 2011
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
FORMULA
Dirichlet g.f.: zeta(s-1)*zeta(s-2)/(zeta(2s-2)*zeta(s)). - R. J. Mathar, Feb 27 2011
Sum_{k=1..n} a(k) ~ 5*n^3 / (Pi^2 * zeta(3)). - Vaclav Kotesovec, Jan 11 2019
Multiplicative with a(p) = p*(p+1) - 1, and a(p^e) = (p-1)*(p+1)^2*p^(2*e-3) for e >= 2. - Amiram Eldar, Oct 28 2023
EXAMPLE
MAPLE
with (numtheory): a:= n-> add (k^2* mul(1+1/p, p=factorset(k)) *mobius (n/k), k=divisors(n)): seq (a(n), n=1..60); # Alois P. Heinz, Aug 28 2008
MATHEMATICA
a[n_] := Sum[ k^2*Product[ 1+1/p, {p, FactorInteger[k][[All, 1]]}]* MoebiusMu[n/k], {k, Divisors[n]}] - MoebiusMu[n]; Table[a[n], {n, 1, 50}] (* Jean-François Alcover, Sep 03 2012, after Alois P. Heinz *)
f[p_, e_] := (p - 1)*(p + 1)^2*p^(2*e - 3); f[p_, 1] := p*(p + 1) - 1; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Oct 28 2023 *)
CROSSREFS
KEYWORD
nonn,easy,mult
AUTHOR
Gary W. Adamson, May 23 2008
EXTENSIONS
Definition corrected by N. J. A. Sloane, Jul 28 2008
More terms from Alois P. Heinz, Aug 28 2008
STATUS
approved