OFFSET
0,4
LINKS
EXAMPLE
a(0) = 1: the empty permutation.
a(1) = 1: 1.
a(2) = 1: 21.
a(3) = 3: 231, 312, 321.
a(4) = 11: 2341, 2431, 3241, 3412, 3421, 4123, 4132, 4213, 4231, 4312, 4321.
a(5) = 55: 23451, 23541, 24351, 24531, ..., 54213, 54231, 54312, 54321.
a(6) = 319: 234561, 234651, 235461, 235641, ..., 654213, 654231, 654312, 654321.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Alois P. Heinz, Feb 20 2024
EXTENSIONS
a(14)-a(16) from Martin Ehrenstein, Feb 22 2024
a(17) from Alois P. Heinz, Feb 22 2024
STATUS
approved