login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A229887
Number of 6 up, 6 down permutations of [n].
2
1, 1, 1, 1, 1, 1, 1, 1, 7, 28, 84, 210, 462, 924, 11220, 74283, 354563, 1363571, 4482323, 13058891, 226630385, 2101302530, 13794660782, 71790720848, 314709809876, 1206605493016, 27221495651416, 324504194839891, 2711270620975411, 17790823624994551
OFFSET
0,9
LINKS
EXAMPLE
a(7) = 1: 1234567.
a(8) = 7: 12345687, 12345786, 12346785, 12356784, 12456783, 13456782, 23456781.
a(9) = 28: 123456987, 123457986, ..., 245678931, 345678921.
MAPLE
b:= proc(u, o, t) option remember; `if`(u+o=0, 1, add(`if`(t=6,
b(o-j, u+j-1, 1), b(u+j-1, o-j, t+1)), j=1..o))
end:
a:= n-> b(0, n, 0):
seq(a(n), n=0..35);
CROSSREFS
Column k=6 of A229892.
Sequence in context: A290994 A049017 A019501 * A243741 A369809 A145456
KEYWORD
nonn,eigen
AUTHOR
Alois P. Heinz, Oct 02 2013
STATUS
approved