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”).

A131088
2*A051731 - A054525 as infinite lower triangular matrices.
2
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, 2, 0, 3, 0, 0, 0, 0, 0, 1, 1, 3, 0, 0, 3, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 2, 3, 0, 3, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
OFFSET
1,2
COMMENTS
Row sums = A131089.
A131090: (1, 3, 3, 2, 3, 1, 3, 2, 2, 1, ...) in every column interspersed with (k-1) zeros.
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
Cf. A129979 (left border), A131089 (row sums), A051731, A054525.
Sequence in context: A179656 A167274 A201679 * A136157 A266260 A143353
KEYWORD
nonn,tabl
AUTHOR
Gary W. Adamson, Jun 14 2007
EXTENSIONS
More terms from Michel Marcus, Feb 26 2022
STATUS
approved