|
|
A129628
|
|
Inverse Moebius transform of A001511.
|
|
5
|
|
|
1, 3, 2, 6, 2, 6, 2, 10, 3, 6, 2, 12, 2, 6, 4, 15, 2, 9, 2, 12, 4, 6, 2, 20, 3, 6, 4, 12, 2, 12, 2, 21, 4, 6, 4, 18, 2, 6, 4, 20, 2, 12, 2, 12, 6, 6, 2, 30, 3, 9, 4, 12, 2, 12, 4, 20, 4, 6, 2, 24, 2, 6, 6, 28, 4, 12, 2, 12, 4, 12, 2, 30, 2, 6, 6, 12, 4, 12, 2, 30, 5, 6, 2, 24, 4, 6, 4, 20
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
FORMULA
|
Sum_{k=1..n} a(k) ~ 2*n * (2*gamma - 1 + log(n/2)), where gamma is the Euler-Mascheroni constant A001620. - Vaclav Kotesovec, Feb 02 2019
Multiplicative with a(2^e) = (e+1)*(e+2)/2, and a(p^e) = e+1 for p > 2. - Amiram Eldar, Sep 30 2020
|
|
MATHEMATICA
|
f[p_, e_] := If[p==2, (e+1)*(e+2)/2, e+1]; a[1] = 1; a[n_] := Times @@ (f @@@ FactorInteger[n]); Array[a, 100] (* Amiram Eldar, Sep 30 2020 *)
|
|
PROG
|
(PARI) a(n)={sumdiv(n, d, 1 + valuation(d, 2))} \\ Andrew Howroyd, Aug 04 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,mult,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|