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!)
A283667 Number of Motzkin prefixes of length 2n and height n. 3

%I #13 May 11 2020 06:58:46

%S 1,3,13,64,334,1802,9933,55575,314362,1793126,10295625,59430043,

%T 344559826,2005026610,11703965955,68503652100,401892122682,

%U 2362629703214,13914547415998,82081163986020,484893156220356,2868234297838092,16986185485228431,100703275233924096

%N Number of Motzkin prefixes of length 2n and height n.

%H Alois P. Heinz, <a href="/A283667/b283667.txt">Table of n, a(n) for n = 0..1279</a>

%F Recursion: see Maple program.

%F a(n) = A283595(2n,n).

%F a(n) ~ sqrt(769 + 2762/sqrt(13)) * (70 + 2*13^(3/2))^n / (3^(3*n+3)*sqrt(3*Pi*n)). - _Vaclav Kotesovec_, Mar 13 2017

%p a:= proc(n) option remember; `if`(n<2, 1+2*n, ((4*n-2)*(455*n^6-

%p 1155*n^5-2776*n^4+1047*n^3+1493*n^2-72*n-72)*a(n-1)+36*

%p (n-1)*(2*n-1)*(2*n-3)*(13*n^4-7*n^3-64*n^2-44*n-6)*a(n-2))/

%p ((9*n+6)*(3*n+1)*(n+1)*(13*n^4-59*n^3+35*n^2+11*n-6)))

%p end:

%p seq(a(n), n=0..30);

%t b[x_, y_, m_] := b[x, y, m] = If[x == 0, z^m, b[x - 1, y, m] + If[y > 0, b[x - 1, y - 1, m], 0] + b[x - 1, y + 1, Max[m, y + 1]]];

%t a[n_] := SeriesCoefficient[b[2n, 0, 0], {z, 0, n}];

%t a /@ Range[0, 30] (* _Jean-François Alcover_, May 11 2020, after _Alois P. Heinz_ in A283595 *)

%Y Cf. A283595, A283799.

%K nonn

%O 0,2

%A _Alois P. Heinz_, Mar 13 2017

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