|
|
A128652
|
|
Number of square permutations of length n.
|
|
2
|
|
|
1, 2, 6, 24, 104, 464, 2088, 9392, 42064, 187296, 828776, 3644912, 15937776, 69317984, 300009744, 1292654304, 5547021728, 23715100480, 101046014952, 429209373296, 1817975905456, 7680278380512, 32368750662320
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
Michael Albert, Steve Linton, Nik Ruskuc, Vincent Vatter, Steve Waton, On convex permutations, Discrete Mathematics, vol.311, pp.715-722, (2011).
|
|
FORMULA
|
a(n) = 2*(n+2) * 4^(n-3) - 4*(2*n-5) * C(2*n-6,n-3) for n>=2, a(1)=1.
G.f.: x*(1-6*x+10*x^2-4*x^2*sqrt(1-4*x))/(1-4*x)^2 (See theorem 3.1 in Albert et al. reference). [Joerg Arndt, Jun 21 2011]
Conjecture: +(n-3)*(n-8)*a(n) +2*(-4*n^2+43*n-96)*a(n-1) +8*(2*n-7)*(n-7)*a(n-2)=0. - R. J. Mathar, Oct 16 2017
|
|
MATHEMATICA
|
a[1] = 1; a[n_] := 2(n+2) * 4^(n-3) - 4(2n-5) * Binomial[2n-6, n-3];
|
|
PROG
|
(PARI) a(n) = if(n<=1, n, 2*(n+2) * 4^(n-3) - 4*(2*n-5) * binomial(2*n-6, n-3)); /* Joerg Arndt, Jun 21 2011 */
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|