OFFSET
0,2
COMMENTS
LINKS
Reinhard Zumkeller, Rows n = 0..120 of triangle, flattened
FORMULA
Riordan array ((1-x)/(1-3x), x).
EXAMPLE
Triangle begins
1;
2,1;
6,2,1;
18,6,2,1;
54,18,6,2,1;
162,54,18,6,2,1;
PROG
(Haskell)
a114283 n k = a114283_tabl !! n !! k
a114283_row n = a114283_tabl !! n
a114283_tabl = iterate
(\row -> (sum $ zipWith (+) row $ reverse row) : row) [1]
-- Reinhard Zumkeller, Nov 27 2012
CROSSREFS
KEYWORD
AUTHOR
Paul Barry, Nov 20 2005
STATUS
approved