OFFSET
2,3
LINKS
Antti Karttunen, Table of n, a(n) for n = 2..65537
EXAMPLE
For n=4, tau(n')=tau(4)=3.
For n=5, tau(n')=tau(1)=1.
MATHEMATICA
dn[0] = 0; dn[1] = 0; dn[n_?Negative] := -dn[-n]; dn[n_] := Module[{f = Transpose@ FactorInteger@ n}, If[PrimeQ@n, 1, Total[n*f[[2]]/f[[1]]]]]; (* see A003415 *); f[n_] := DivisorSigma[0, dn@ n]; Array[f, 85, 2] (* Robert G. Wilson v, Mar 12 2018 *)
PROG
(PARI) rd(n) = {local(fac); if(n<1, 0, fac=factor(n); sum(i=1, matsize(fac)[1], n*fac[i, 2]/fac[i, 1]; )); }
a(n) = numdiv(rd(n)); \\ Michel Marcus, Sep 24 2013
(GAP) List(List(List([2..10^2], Factors), i->Product(i)*Sum(i, j->1/j)), Tau); # Muniru A Asiru, Mar 05 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Luca Brigada Villa, Sep 24 2013
STATUS
approved