A266226 a(n) = floor(Sum_{d|n} 1 / tau(d)).
1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 2, 1, 2, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 2, 3, 1, 2, 2, 3, 1, 3, 1, 2, 2, 2, 1, 3, 1, 2, 2, 2, 1, 3, 2, 3, 2, 2, 1, 4, 1, 2, 2, 2, 2, 3, 1, 2, 2, 3, 1, 3, 1, 2, 2, 2, 2, 3, 1, 3, 2, 2, 1, 4, 2, 2, 2, 3
Offset: 1
Examples
For n = 6; a(6) = floor(Sum_{d|6} 1/tau(d)) = floor(1/1 + 1/2 + 1/2 + 1/4) = floor(9/4) = 2.
Links
- G. C. Greubel, Table of n, a(n) for n = 1..5000
Programs
-
Magma
[Floor(&+[1/NumberOfDivisors(d): d in Divisors(n)]): n in [1..100]];
-
Mathematica
Table[Floor[Sum[1/DivisorSigma[0, d], {d, Divisors[ n]}]], {n, 1, 100}] (* G. C. Greubel, Dec 24 2015 *)
Comments