OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..225
FORMULA
a(n) = A152874(2n,n).
From Vaclav Kotesovec, May 26 2023: (Start)
Recurrence: (2*n - 3)*a(n) = 4*(2*n^2 - 4*n + 1)*a(n-1) + 16*(n-2)^2*(n-1)^2*(2*n - 1)*a(n-2).
a(n) ~ 2^(2*n+1) * n^(2*n) / exp(2*n). (End)
EXAMPLE
a(0) = 1: (), the empty permutation.
a(1) = 2: 12, 21.
a(2) = 8: 1243, 1423, 2134, 2314, 3241, 3421, 4132, 4312.
a(3) = 288: 123546, 123564, 124356, 124536, 125346, ..., 652431, 653241, 653421, 654213, 654231.
MAPLE
a:= proc(n) option remember; `if`(n<2, 2^n,
(16*(n-2)^2*(2*n-1)*(n-1)^2*a(n-2)+4*(2*n^2-4*n+1)*a(n-1))/(2*n-3))
end:
seq(a(n), n=0..18);
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, May 23 2023
STATUS
approved