OFFSET
1,2
COMMENTS
EXAMPLE
First few rows of the triangle:
1;
3, 1;
3, 0, 1;
2, 3, 0, 1;
3, 0, 0, 0, 1;
1, 3, 3, 0, 0, 1
3, 0, 0, 0, 0, 0, 1;
2, 2, 0, 3, 0, 0, 0, 1;
...
PROG
(PARI) T(n, k) = 2*!(n%k) - if (!(n % k), moebius(n/k), 0);
row(n) = vector(n, k, T(n, k));
lista(nn) = for (n=1, nn, v = row(n); for (k=1, #v, print1(v[k], ", "))); \\ Michel Marcus, Feb 26 2022
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Jun 14 2007
EXTENSIONS
More terms from Michel Marcus, Feb 26 2022
STATUS
approved