OFFSET
1,2
COMMENTS
This geometric grid class is given by the array [[0,0,1,0],[0,0,0,1],[0,1,-1,0],[1,0,0,-1]]. A picture is given in the LINKS section.
The sequence of all permutations in this class is given by A226431.
LINKS
Jay Pantone, The Enumeration of Permutations Avoiding 3124 and 4312, arXiv:1309.0832 [math.CO], (2013).
Jay Pantone, Picture of the geometric grid class
Index entries for linear recurrences with constant coefficients, signature (2,1,-2,-1).
FORMULA
G.f.: x+2*x^2+ x^4*(1-x)*(2+x)/(1-x-x^2)^2 (corrected, Joerg Arndt, Jun 26 2013)
MATHEMATICA
Join[{1, 2}, LinearRecurrence[{2, 1, -2, -1}, {0, 2, 3, 7}, 40]] (* Jean-François Alcover, Jul 21 2018 *)
PROG
(PARI) x='x+O('x^66); Vec(x+2*x^2+(x^4*(1-x)*(2+x))/((1-x-x^2)^2) ) \\ Joerg Arndt, Jun 19 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jay Pantone, Jun 06 2013
STATUS
approved