OFFSET
1,2
FORMULA
Sum_{k=1..n} a(k) * floor(n/k) = n^4.
Sum_{k=1..n} a(k) = A082540(n).
G.f.: Sum_{k >= 1} mu(k) * x^k * (1 + 11*x^k + 11*x^(2*k) + x^(3*k))/(1 - x^k)^4.
MATHEMATICA
a[n_] := Sum[MoebiusMu[k] * First @ Differences @ (Quotient[{n - 1, n}, k]^4), {k, 1, n}]; Array[a, 50] (* Amiram Eldar, May 24 2021 *)
PROG
(PARI) a(n) = sum(k=1, n, moebius(k)*((n\k)^4-((n-1)\k)^4));
(PARI) my(N=40, x='x+O('x^N)); Vec(sum(k=1, N, moebius(k)*x^k*(1+11*x^k+11*x^(2*k)+x^(3*k))/(1-x^k)^4))
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, May 24 2021
STATUS
approved