OFFSET
1,7
LINKS
Reinhard Zumkeller, Rows n = 1..120 of table, flattened
C. Cannings, The Stationary Distributions of a Class of Markov Chains, Applied Mathematics, Vol. 4 No. 5, 2013, pp. 769-773.
EXAMPLE
Triangle begins:
1,
0,1,
1,1,1,
3,4,2,1,
13,17,9,3,1,
68,89,47,16,4,1,
421,551,291,99,25,5,1,
3015,3946,2084,709,179,36,6,1,
...
PROG
(Haskell)
a228340 n k = a228340_tabl !! (n-1) !! k
a228340_row n = a228340_tabl !! (n-1)
a228340_tabl = map (reverse . fst) $ iterate f ([1], [1, 0]) where
f (us, vs'@(_ : vs@(v : _))) = (vs', ws) where
ws = 1 : (v + 1) : zipWith (+) us (map (* (v + 2)) vs)
-- Reinhard Zumkeller, Aug 31 2013
CROSSREFS
KEYWORD
AUTHOR
N. J. A. Sloane, Aug 29 2013
STATUS
approved