OFFSET
0,3
COMMENTS
The length of n-th row is given in A055642(n). - Reinhard Zumkeller, Jul 04 2012
According to the formula for T(n,1), columns are numbered starting with 1. One might also number columns starting with the offset 0, as to have the coefficient of 10^k in column k. - M. F. Hasler, Jul 21 2013
LINKS
Reinhard Zumkeller, Rows n = 0..2500 of triangle, flattened
FORMULA
MATHEMATICA
Table[Reverse[IntegerDigits[n]], {n, 0, 50}]//Flatten (* Harvey P. Dale, Mar 07 2023 *)
PROG
(Haskell)
a031298 n k = a031298_tabf !! n !! k
a031298_row n = a031298_tabf !! n
a031298_tabf = iterate succ [0] where
succ [] = [1]
succ (9:ds) = 0 : succ ds
succ (d:ds) = (d + 1) : ds
-- Reinhard Zumkeller, Jul 04 2012
(PARI) T(n, k)=n\10^(k-1)%10 \\ M. F. Hasler, Jul 21 2013
CROSSREFS
KEYWORD
AUTHOR
EXTENSIONS
Initial 0 and better name by Philippe Deléham, Oct 20 2011
Edited by M. F. Hasler, Jul 21 2013
STATUS
approved