A321973 Partial sums of the Dedekind psi_2(k) function, for 1 <= k <= n.
0, 1, 6, 16, 36, 62, 112, 162, 242, 332, 462, 584, 784, 954, 1204, 1464, 1784, 2074, 2524, 2886, 3406, 3906, 4516, 5046, 5846, 6496, 7346, 8156, 9156, 9998, 11298, 12260, 13540, 14760, 16210, 17510, 19310, 20680, 22490, 24190, 26270, 27952, 30452, 32302, 34742
Offset: 0
Links
- Wikipedia, Dedekind psi function
Programs
-
Mathematica
a[n_] := Sum[MoebiusMu[k]^2 * BernoulliB[3, 1 + Floor[n/k]], {k, 1, n}]/3; Array[a, 50, 0] (* Amiram Eldar, Nov 23 2018 *)
-
PARI
a(n) = sum(k=1, n, moebius(k)^2 * ((n\k)^3/3 + (n\k)^2/2 + (n\k)/6));
Formula
a(n) = Sum_{k=1..n} A065958(k).
a(n) ~ n^3 * zeta(3) / (3*zeta(6)).
a(n) = Sum_{k=1..n} mu(k)^2 * Bernoulli(3, 1+floor(n/k)) / 3.
Comments