OFFSET
1,2
COMMENTS
Also numerators of (Sum_{d|n} sigma(d)) / n.
LINKS
Jaroslav Krizek, Table of n, a(n) for n = 1..1000
FORMULA
EXAMPLE
For n=6; {d_6} = {1, 2, 3, 6}; {tau(d)_6} = {1, 2, 2, 4}; Sum_{d|6} tau(d)/d = 1/1 + 2/2 + 2/3 + 4/6 = 20/6 = 10/3; a(6) = 10.
For n=6; {d_6} = {1, 2, 3, 6}; {sigma(d)_6} = {1, 3, 4, 12}; (Sum_{d|6} sigma(d))/6 = (1+3+4+12)/6 = 10/3; a(6) = 10.
MATHEMATICA
Table[Numerator@ Total[DivisorSigma[0, #]/#] &@ Divisors@ n, {n, 66}] (* Michael De Vlieger, Sep 16 2016 *)
PROG
(Magma) [Numerator(&+[NumberOfDivisors(d)/d: d in Divisors(n)]): n in [1..100]]
(PARI) a(n) = numerator(sumdiv(n, d, numdiv(d)/d)); \\ Michel Marcus, Sep 16 2016
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Jaroslav Krizek, Sep 16 2016
STATUS
approved