OFFSET
1,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
G.f.: Sum_{k>=1} mu(k) * x^k * (1 - x^k) / (1 - 2*x^k). - Ilya Gutkovskiy, Feb 06 2020
MATHEMATICA
t[n_, k_] := If[Divisible[n, k], MoebiusMu[n/k], 0] - If[Divisible[n, k + 1], MoebiusMu[n/(k + 1)], 0]; Table[Sum[t[n, k]*2^(k - 1), {k, 1, n}], {n, 1, 50}] (* G. C. Greubel, Oct 26 2017 *)
PROG
(PARI) {a(n)=sum(k=1, n, (matrix(n, n, r, c, if(r>=c, floor(r/c)))^-1)[n, k]*2^(k-1))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 09 2006
STATUS
approved