login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062323 Triangle with a(n,n)=1, a(n,k)=(n-1)*a(n-1,k)+a(n-2,k) for n>k. 3

%I #8 Jul 26 2023 13:08:26

%S 1,0,1,1,1,1,2,3,2,1,7,10,7,3,1,30,43,30,13,4,1,157,225,157,68,21,5,1,

%T 972,1393,972,421,130,31,6,1,6961,9976,6961,3015,931,222,43,7,1,56660,

%U 81201,56660,24541,7578,1807,350,57,8,1,516901,740785,516901,223884

%N Triangle with a(n,n)=1, a(n,k)=(n-1)*a(n-1,k)+a(n-2,k) for n>k.

%H Reinhard Zumkeller, <a href="/A062323/b062323.txt">Rows n = 0..120 of triangle, flattened</a>

%F a(n, k)=k*a(n, k+1)+a(n, k+2) for n>k.

%e Triangle starts:

%e [0] 1;

%e [1] 0, 1;

%e [2] 1, 1, 1;

%e [3] 2, 3, 2, 1;

%e [4] 7, 10, 7, 3, 1;

%e [5] 30, 43, 30, 13, 4, 1;

%e [6] 157, 225, 157, 68, 21, 5, 1;

%e [7] 972, 1393, 972, 421, 130, 31, 6, 1;

%e [8] 6961, 9976, 6961, 3015, 931, 222, 43, 7, 1;

%o (Haskell)

%o a062323 n k = a062323_tabl !! n !! k

%o a062323_row n = a062323_tabl !! n

%o a062323_tabl = map fst $ iterate f ([1], [0,1]) where

%o f (us, vs) = (vs, ws) where

%o ws = (zipWith (+) (us ++ [0]) (map (* v) vs)) ++ [1]

%o where v = last (init vs) + 1

%o -- _Reinhard Zumkeller_, Mar 05 2013

%Y Essentially the same as A058294, but more easy seen as a triangle. Columns include A001040, A001053, A058307, A058308, A058309. Other sequences appearing on the right hand side include A000012, A001477, A002061, A034262.

%K nonn,tabl

%O 0,7

%A _Henry Bottomley_, Jul 05 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)