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!)
A188285 Riordan matrix ( (1-2x)/(1-2x-x^2), (x-2x^2)/(1-2x-x^2) ). 1

%I #15 Dec 26 2023 10:07:43

%S 1,0,1,1,0,1,2,2,0,1,5,4,3,0,1,12,11,6,4,0,1,29,28,18,8,5,0,1,70,72,

%T 48,26,10,6,0,1,169,184,130,72,35,12,7,0,1,408,469,348,204,100,45,14,

%U 8,0,1,985,1192,927,568,295,132,56,16,9,0,1,2378,3022,2456,1571,850,404,168,68,18,10,0,1,5741,7644,6477,4312,2430,1200,532,208,81,20,11,0,1

%N Riordan matrix ( (1-2x)/(1-2x-x^2), (x-2x^2)/(1-2x-x^2) ).

%C T(n,k) is the number of Dyck paths of height at most 3 with length 2n and k hills.

%C Row sum = F_(2n-1) Fibonacci number.

%C T is the convolution triangle of |A215936|. - _Peter Luschny_, Oct 19 2022

%H Vincenzo Librandi, <a href="/A188285/b188285.txt">Table of n, a(n) for n = 0..495</a>

%F T(n,k) = sum(M(i,n-k-2i)*Binomial(i+k,k)*2^{n-k-2i},i=0..floor((n-k)/2)), where M(n,k)=n(n+1)(n+2)...(n+k-1)/k!.

%F Recurrence: T(n+2,k+1) = 2 T(n+1,k+1) + T(n+1,k) + T(n,k+1) - 2 T(n,k)

%e Triangle begins:

%e 1

%e 0, 1

%e 1, 0, 1

%e 2, 2, 0, 1

%e 5, 4, 3, 0, 1

%e 12, 11, 6, 4, 0, 1

%e 29, 28, 18, 8, 5, 0, 1

%e 70, 72, 48, 26, 10, 6, 0, 1

%e 169, 184, 130, 72, 35, 12, 7, 0, 1

%e 408, 469, 348, 204, 100, 45, 14, 8, 0, 1

%p # Uses function PMatrix from A357368. Adds column 1,0,0,0,... to the left.

%p PMatrix(10, n -> (-1)^(n+1)*A215936(n)); # _Peter Luschny_, Oct 19 2022

%t Flatten[Table[Sum[Pochhammer[i,n-k-2i]/(n-k-2i)!Binomial[i+k,k]2^(n-k-2i),{i,0,(n-k)/2}],{n,0,12},{k,0,n}],1]

%o (Maxima) create_list(sum(pochhammer(i,n-k-2*i)/(n-k-2*i)!*binomial(i+k,k)*2^(n-k-2*i),i,0,(n-k)/2),n,0,12,k,0,n);

%K nonn,tabl,easy

%O 0,7

%A _Emanuele Munarini_, Mar 26 2011

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 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)