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

A127626
Triangle T(n,k) = A018804(k) if k|n, else T(n,k)=0.
1
1, 1, 3, 1, 0, 5, 1, 3, 0, 8, 1, 0, 0, 0, 9, 1, 3, 5, 0, 0, 15, 1, 0, 0, 0, 0, 0, 13, 1, 3, 0, 8, 0, 0, 0, 20, 1, 0, 5, 0, 0, 0, 0, 0, 21, 1, 3, 0, 0, 9, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21, 1, 3, 5, 8, 0, 15, 0, 0, 0, 0, 0, 40, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25
OFFSET
1,3
COMMENTS
Inverse Mobius transform of a matrix with A018804 in the main diagonal and the rest zeros.
LINKS
EXAMPLE
First few rows of the triangle are:
1;
1, 3;
1, 0, 5;
1, 3, 0, 8;
1, 0, 0, 0, 9;
1, 3, 5, 0, 0, 15;
...
PROG
(Haskell)
a127626 n k = a127626_tabl !! (n-1) !! (k-1)
a127626_row n = a127626_tabl !! (n-1)
a127626_tabl = map
(map (\x -> if x == 0 then 0 else a018804 x)) a127093_tabl
-- Reinhard Zumkeller, Jan 21 2014
CROSSREFS
Cf. A051731, A038040 (row sums), A018804 (diagonal).
Cf. A127093.
Sequence in context: A187954 A119302 A134560 * A245095 A154791 A121440
KEYWORD
nonn,tabl,easy
AUTHOR
Gary W. Adamson, Jan 20 2007
STATUS
approved