A026671 Number of lattice paths from (0,0) to (n,n) with steps (0,1), (1,0) and, when on the diagonal, (1,1).
1, 3, 11, 43, 173, 707, 2917, 12111, 50503, 211263, 885831, 3720995, 15652239, 65913927, 277822147, 1171853635, 4945846997, 20884526283, 88224662549, 372827899079, 1576001732485, 6663706588179, 28181895551161, 119208323665543, 504329070986033, 2133944799315027
Offset: 0
References
- L. W. Shapiro and C. J. Wang, Generating identities via 2 X 2 matrices, Congressus Numerantium, 205 (2010), 33-46.
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Jean-Christophe Aval, Adrien Boussicault and Sandrine Dasse-Hartaut, The tree structure in staircase tableaux, arXiv:1109.4907 [math.CO], 2011-2013.
- Cyril Banderier, Markus Kuba, and Michael Wallner, Analytic Combinatorics of Composition schemes and phase transitions with mixed Poisson distributions, arXiv:2103.03751 [math.PR], 2021.
- Miklos Bona, The permutation classes equinumerous to the smooth class, Electron. J. Combin., 5 (1998), no. 1, Research Paper 31, 12 pp.
- David Callan and Toufik Mansour, Five subsets of permutations enumerated as weak sorting permutations, arXiv:1602.05182 [math.CO], 2016.
- Aoife Hennessy, A Study of Riordan Arrays with Applications to Continued Fractions, Orthogonal Polynomials and Lattice Paths, Ph. D. Thesis, Waterford Institute of Technology, Oct. 2011.
- Milan Janjić, Pascal Matrices and Restricted Words, J. Int. Seq., Vol. 21 (2018), Article 18.5.2.
- J. W. Layman, The Hankel Transform and Some of its Properties, J. Integer Sequences, 4 (2001), #01.1.5.
- Huyile Liang, Jeffrey Remmel and Sainan Zheng, Stieltjes moment sequences of polynomials, arXiv:1710.05795 [math.CO], 2017, see page 16.
Crossrefs
Programs
-
GAP
a:=[3,11,43];; for n in [4..30] do a[n]:=(2*(4*n-3)*a[n-1] - 3*(5*n-8)*a[n-2] - 2*(2*n-3)*a[n-3])/n; od; Concatenation([1], a); # G. C. Greubel, Jul 16 2019
-
Magma
R
:=PowerSeriesRing(Rationals(), 30); Coefficients(R!( 1/(Sqrt(1-4*x)-x) )); // G. C. Greubel, Jul 16 2019 -
Mathematica
Table[SeriesCoefficient[1/(Sqrt[1-4*x]-x),{x,0,n}],{n,0,30}] (* Vaclav Kotesovec, Oct 08 2012 *)
-
PARI
{a(n)= if(n<0, 0, polcoeff( 1/(sqrt(1 -4*x +x*O(x^n)) -x), n))} /* Michael Somos, Apr 20 2007 */
-
PARI
my(x='x+O('x^66)); Vec( 1/(sqrt(1-4*x)-x) ) \\ Joerg Arndt, May 04 2013
-
Sage
(1/(sqrt(1-4*x)-x)).series(x, 30).coefficients(x, sparse=False) # G. C. Greubel, Jul 16 2019
Formula
From Wolfdieter Lang, Mar 21 2000: (Start)
G.f.: 1/(sqrt(1-4*x)-x).
a(n) = Sum_{i=1..n} a(i-1)*binomial(2*(n-i), n-i) + binomial(2*n, n), n >= 1, a(0)=1. (End)
G.f.: 1/(1 -x -2*x*c(x)) where c(x) = g.f. for Catalan numbers A000108. - Michael Somos, Apr 20 2007
From Paul Barry, Jan 25 2009: (Start)
G.f.: 1/(1 - 3xc(x) + x^2*c(x)^2);
G.f.: 1/(1-3x-2x^2/(1-2x-x^2/(1-2x-x^2/(1-2x-x^2/(1-... (continued fraction).
a(0) = 1, a(n) = Sum_{k=0..n} (k/(2n-k))*C(2n-k,n-k)*F(2k+2). (End)
From Paul Barry, Feb 08 2009: (Start)
G.f.: 1/(1-x/(1-2x/(1-x/(1-x/(1-x/(1-x/(1-x/(1-... (continued fraction);
G.f. of 1,1,3,... is 1/(1-x-2x/(1-x/(1-x/(1-x/(1-... (continued fraction). (End)
From Gary W. Adamson, Jul 14 2011: (Start)
a(n) = the upper left term in M^n, M = the infinite square production matrix:
3, 2, 0, 0, 0, 0, ...
1, 1, 1, 0, 0, 0, ...
1, 1, 1, 1, 0, 0, ...
1, 1, 1, 1, 1, 0, ...
1, 1, 1, 1, 1, 1, ...
... (End)
From Vaclav Kotesovec, Oct 08 2012: (Start)
D-finite with recurrence: n*a(n) = 2*(4*n-3)*a(n-1) - 3*(5*n-8)*a(n-2) - 2*(2*n-3)*a(n-3).
a(n) ~ (2+sqrt(5))^n/sqrt(5). (End)
a(n) = Sum_{k=0..n+1} 4^(n+1-k) * binomial(n-k/2,n+1-k). - Seiichi Manyama, Mar 30 2025
From Peter Luschny, Mar 30 2025: (Start)
a(n) = 4^n*(binomial(n-1/2, n)*hypergeom([1, (1-n)/2, -n/2], [1/2, 1/2-n], -1/4) + hypergeom([(1-n)/2, 1-n/2], [1-n], -1/4)/4) for n > 0.
Comments