login
A123708
a(n) = sum of unsigned elements in row n of triangle A123706.
4
1, 3, 3, 4, 3, 5, 3, 4, 4, 7, 3, 8, 3, 7, 7, 4, 3, 8, 3, 8, 7, 7, 3, 8, 4, 7, 4, 8, 3, 13, 3, 4, 7, 7, 7, 8, 3, 7, 7, 8, 3, 13, 3, 8, 8, 7, 3, 8, 4, 8, 7, 8, 3, 8, 7, 8, 7, 7, 3, 16, 3, 7, 8, 4, 7, 13, 3, 8, 7, 15, 3, 8, 3, 7, 8, 8, 7, 13, 3, 8, 4, 7, 3, 16, 7, 7, 7, 8, 3, 16, 7, 8, 7, 7, 7, 8, 3, 8, 8, 8, 3, 13
OFFSET
1,2
COMMENTS
Triangle A123706 is the matrix inverse of triangle A010766, where A010766(n,k) = [n/k].
LINKS
MATHEMATICA
t[n_, k_] := If[Divisible[n, k], MoebiusMu[n/k], 0] - If[Divisible[n, k + 1], MoebiusMu[n/(k + 1)], 0]; Table[Sum[Abs[t[n, k]], {k, 1, n}], {n, 1, 50}] (* G. C. Greubel, Oct 26 2017 *)
PROG
(PARI) {a(n)=local(M=matrix(n, n, r, c, if(r>=c, floor(r/c)))^-1); sum(k=1, n, abs(M[n, k]))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 09 2006
STATUS
approved