OFFSET
0,3
COMMENTS
A shallow permutation is a permutation that satisfies the lower bound of the Diaconis-Graham inequality (i.e., so that the total displacement is equal to the sum of the length and reflection length).
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..3494
Kassie Archer, Aaron Geary, and Robert Laudone, Pattern-avoiding shallow permutations, arXiV:2412.11999 [math.CO], 2024.
Index entries for linear recurrences with constant coefficients, signature (4,-2,-12,22,-12,-2,4,-1).
FORMULA
G.f.: (1-3*x+11*x^3-13*x^4+7*x^5+6*x^6+3*x^7) / ((1-x)^4 * (1-4*x^2+x^4)).
MATHEMATICA
CoefficientList[Series[(1 - 3*x + 11*x^3 - 13*x^4 + 7*x^5 + 6*x^6 + 3*x^7)/((1 - x)^4*(1 - 4*x^2 + x^4)), {x, 0, 33}], x] (* Michael De Vlieger, Apr 01 2025 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Kassie Archer, Mar 31 2025
STATUS
approved
