login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A054524
Triangle T(n,k): T(n,k) = mu(k) if k divides n, T(n,k)=0 otherwise (n >= 1, 1<=k<=n).
12
1, 1, -1, 1, 0, -1, 1, -1, 0, 0, 1, 0, 0, 0, -1, 1, -1, -1, 0, 0, 1, 1, 0, 0, 0, 0, 0, -1, 1, -1, 0, 0, 0, 0, 0, 0, 1, 0, -1, 0, 0, 0, 0, 0, 0, 1, -1, 0, 0, -1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, -1, -1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 1, -1
OFFSET
1,1
FORMULA
MATHEMATICA
Clear[t]; t[n_, 1] = 1; t[n_, k_] := t[n, k] = If[k == 1, 1, If[n == k, -Sum[t[n, k - i], {i, 1, k - 1}], If[n > k, t[n - k, k], 0]]]; Flatten[Table[t[n, k], {n, 13}, {k, n}]] (* Mats Granvik, Feb 12 2012 *)
Table[If[Mod[n, k]==0, MoebiusMu[k], 0], {n, 20}, {k, n}]//Flatten (* Harvey P. Dale, Mar 29 2023 *)
CROSSREFS
Cf. A054521.
Sequence in context: A363343 A336923 A239681 * A110471 A360116 A255339
KEYWORD
sign,tabl
AUTHOR
N. J. A. Sloane, Apr 09 2000
STATUS
approved

  NODES
orte 1
see 1
Story 1