OFFSET
0
COMMENTS
LINKS
Reinhard Zumkeller, Rows n = 0..1000 of triangle, flattened
EXAMPLE
The first rows:
. 0: [0]
. 1: [1]
. 2: [0,1]
. 3: [0,0,1]
. 4: [1,0,1]
. 5: [0,0,0,1]
. 6: [1,0,0,1]
. 7: [0,1,0,1]
. 8: [0,0,0,0,1]
. 9: [1,0,0,0,1]
. 10: [0,1,0,0,1]
. 11: [0,0,1,0,1]
. 12: [1,0,1,0,1].
PROG
(Haskell)
a213676 n k = a213676_tabf !! n !! k
a213676_row n = a213676_tabf !! n
a213676_tabf = [0] : map reverse a189920_tabf
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Reinhard Zumkeller, Mar 10 2013
STATUS
approved