A106228 G.f. satisfies A(x) = 1 + x*A(x)/(1 - x*A(x)^2).
1, 1, 2, 6, 21, 80, 322, 1347, 5798, 25512, 114236, 518848, 2384538, 11068567, 51817118, 244370806, 1159883685, 5536508864, 26560581688, 127993221140, 619280193640, 3007251366000, 14651743202152, 71601107803904, 350873710447210, 1723795243004223
Offset: 0
Keywords
Examples
A = 1 + x*A + x^2*A^3 + x^3*A^5 + x^4*A^7 + x^5*A^9 + ... a(4) = 21 since the top row terms of Q^3 = (10, 7, 3, 1). - _Gary W. Adamson_, Nov 15 2011 G.f. = 1 + x + 2*x^2 + 6*x^3 + 21*x^4 + 80*x^5 + 322*x^6 + 1347*x^7 + ...
Links
- Jay Pantone, Table of n, a(n) for n = 0..500
- Michael H. Albert, Cheyne Homberger, Jay Pantone, Nathaniel Shar, and Vincent Vatter, Generating Permutations with Restricted Containers, arXiv:1510.00269 [math.CO], 2015.
- Andrei Asinowski and Cyril Banderier, From geometry to generating functions: rectangulations and permutations, arXiv:2401.05558 [cs.DM], 2024. See page 2.
- E. Barcucci, R. Pinzani and R. Sprugnoli, The Motzkin family, P.U.M.A. Ser. A, Vol. 2, 1991, No. 3-4, pp. 249-279.
- Paul Barry, Riordan arrays, generalized Narayana triangles, and series reversion, Linear Algebra and its Applications, 491 (2016) 343-385.
- N. R. Beaton, M. Bouvel, V. Guerrini, and S. Rinaldi, Slicings of Parallelogram Polyominoes: Catalan, Schröder, Baxter, and Other Sequences, Electr. J. Combin. 26 (2019), P3.13. Also at arXiv:1511.04854 [math.CO], 2015-2019.
- Beáta Bényi, Toufik Mansour, and José L. Ramírez, Pattern Avoidance in Weak Ascent Sequences, arXiv:2309.06518 [math.CO], 2023.
- Wlodzimierz Bryc, Raouf Fakhfakh, and Wojciech Mlotkowski, Cauchy-Stieltjes families with polynomial variance functions and generalized orthogonality, arXiv:1708.05343 [math.PR], 2017-2019. Also in Probability and Mathematical Statistics (2019), Vol. 39, No. 2, 237-258.
- Alexander Burstein and Louis W. Shapiro, Pseudo-involutions in the Riordan group, arXiv:2112.11595 [math.CO], 2021.
- David Callan and Toufik Mansour, Enumeration of small Wilf classes avoiding 1342 and two other 4-letter patterns, Pure Mathematics and Applications (2018) Vol. 27, No. 1, 62-97.
- Wenqin Cao, Emma Yu Jin, and Zhicong Lin, Enumeration of inversion sequences avoiding triples of relations, Discrete Applied Mathematics (2019); see also author's copy
- Emeric Deutsch, Problem 10658, American Math. Monthly, 107, 2000, 368-370.
- Alice L. L. Gao and Sergey Kitaev, On partially ordered patterns of length 4 and 5 in permutations, arXiv:1903.08946 [math.CO], 2019.
- Alice L. L. Gao and Sergey Kitaev, On partially ordered patterns of length 4 and 5 in permutations, The Electronic Journal of Combinatorics 26(3) (2019), P3.26.
- Nancy S. S. Gu, Nelson Y. Li, and Toufik Mansour, 2-Binary trees: bijections and related issues, Discr. Math., 308 (2008), 1209-1221.
- JiSun Huh, Sangwook Kim, Seunghyun Seo, and Heesung Shin, Bijections on pattern avoiding inversion sequences and related objects, arXiv:2404.04091 [math.CO], 2024. See pp. 2, 22.
- Megan A. Martinez and Carla D. Savage, Patterns in Inversion Sequences II: Inversion Sequences Avoiding Triples of Relations, arXiv:1609.08106 [math.CO], 2016.
- Arturo Merino and Torsten Mütze, Combinatorial generation via permutation languages. III. Rectangulations, arXiv:2103.09333 [math.CO], 2021.
- Chunyan Yan and Zhicong Lin, Inversion sequences avoiding pairs of patterns, arXiv:1912.03674 [math.CO], 2019.
Programs
-
Maple
a := proc(n) option remember; if n<2 then 1 elif n=2 then 2 else ((380*n^3-840*n^2+496*n-72)*a(n-1)+(76*n^3-282*n^2+302*n-84)*a(n-2)+(57*n^3-297*n^2+402*n-72)*a(n-3))/(76*n^3-54*n^2-46*n) fi end: seq(a(i),i=0..23); # Peter Luschny, Aug 03 2012
-
Mathematica
Flatten[{1,Table[1/n*Sum[Binomial[n,k]*Binomial[n+k,n-k-1],{k,0,n-1}],{n,1,20}]}] (* Vaclav Kotesovec, Sep 16 2013 *) a[ n_] := If[ n < 0, 0, HypergeometricPFQ[{-n, 1 - n, n + 1}, {1, 3/2}, 1/4]]; (* Michael Somos, May 27 2014 *)
-
PARI
{a(n)=local(A=1+x+x*O(x^n));for(k=1,n,A=1+x*A/(1-x*A^2)); polcoeff(A,n)}
-
PARI
{a(n) = local(A); if( n<0, 0, n++; A = (1 + x - sqrt(1 - 2*x - 3*x^2 + x * O(x^n))) / 2; polcoeff( serreverse( x^2 / A), n))}; /* Michael Somos, Jun 18 2005 */
-
PARI
{a(n) = if( n<1, n==0, polcoeff( serreverse( x / (1 + 2*x + 2*x^2 + x^3) + x * O(x^n)), n))}; /* Michael Somos, Dec 31 2014 */
-
Sage
from mpmath import mp mp.dps = 32; mp.pretty = True def A106228(n) : return int(mp.hyper([-n, 1-n, n+1], [1, 3/2], 1/4)) [A106228(n) for n in (0..23)] # Peter Luschny, Aug 02 2012
Formula
G.f.: A(x) = (1/x)*series_reversion[x/(1 + x*G001006(x))] and thus G.f. satisfies: A(x) = 1 + x*A(x)*G001006(x*A(x)) where G001006(x) is the g.f. of Motzkin numbers A001006.
G.f.: 1 + x*exp( Sum_{n>=1} A082759(n)*x^n/n ), where A082759(n) = Sum_{k=0..n} binomial(n,k)*trinomial(n,k). - Paul D. Hanna, Nov 02 2012
a(n) = (1/n)sum(binomial(n, j+1)*b(n, j), j=0..n-1), where b(n, j) are the trinomial coefficients [b(n, j)=A027907(n, j)=coefficient of x^j in (1+x+x^2)^n]. - Emeric Deutsch, Jun 08 2005
Given g.f. A(x), then B(x) = x*A(x) satisfies 0 = f(x, B(x)) where f(x, y) = y^3 - (1+y)*x*(y-x). - Michael Somos, Jun 18 2005
a(n+1) = Sum[binomial(2n-2k,n-k)*binomial(n+k,n)/(n+1),{k,0,n}]. - David Callan, Aug 16 2006
For n>0: a(n) = 1/n*sum(binomial(n,j)*sum(binomial(j,i)*binomial(n-j,2*j-n-i-1)*2^(2*n-3*j+2*i+1),i=0..n-1), j=0..n); - Vladimir Kruchinin, Dec 26 2010
a(n) = 1/(n+1)*sum(binomial(n+1,k)*binomial(n+k+1,n-k),k,0,n); - Vladimir Kruchinin, Feb 28 2010
a(n) = upper left term in M^n, M = the production matrix:
1, 1
1, 1, 1
2, 2, 1, 1
3, 3, 2, 1, 1
4, 4, 3, 2, 1, 1
5, 5, 4, 3, 2, 1, 1
...
- Gary W. Adamson, Jul 08 2011
D-finite with recurrence: 4*n*(2*n+1)*a(n) + 2*(6-5*n-10*n^2)*a(n-1) + 12*(-9*n^2+35*n-33)*a(n-2) - 2*(n-3)*(13*n-28)*a(n-3) - 15*(n-3)*(n-4)*a(n-4) = 0. - R. J. Mathar, Nov 14 2011
From Gary W. Adamson, Nov 15 2011: (Start)
a(n) is the sum of top row terms of Q^(n-1), where Q = the following infinite square production matrix:
1, 1, 0, 0, 0, ...
2, 1, 1, 0, 0, ...
3, 2, 1, 1, 0, ...
4, 3, 2, 1, 1, ...
5, 4, 3, 2, 1, ...
... (End)
a(n) = 3_F_2([-n, 1-n, n+1], [1, 3/2], 1/4). - Peter Luschny, Aug 02 2012
A four-term recurrence equation is given in the Maple program. Peter Luschny, Aug 03 2012
a(n) ~ 1/228*sqrt(114)*sqrt((32129+3933*sqrt(57))^(1/3) * ((32129+3933*sqrt(57))^(2/3) + 532 + 38*(32129+3933*sqrt(57))^(1/3))) / ((32129+3933*sqrt(57))^(1/3)) * (((1261+57*sqrt(57))^(2/3) + 112 + 10*(1261+57*sqrt(57))^(1/3)) / (6*(1261+57*sqrt(57))^(1/3)))^n / (sqrt(Pi)*n^(3/2)). - Vaclav Kotesovec, Sep 16 2013
G.f. satisfies x*F(x)^3 - x*F(x)^2 + (x-1)*F(x) + 1 = 0. - Jay Pantone, Oct 01 2015
G.f. satisfies A(-x*A(x)^3) = 1/A(x). - Alexander Burstein, Dec 05 2019
G.f.: A(x) = sqrt(B(x)) where B(x) is the g.f. of A262441. - Seiichi Manyama, Mar 31 2024
a(n) = Sum_{k=0..n} binomial(n,k) * binomial(n/2+3*k/2+1/2,n)/(n+3*k+1). - Seiichi Manyama, Apr 04 2024
Comments