login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A217323 Number of self-inverse permutations in S_n with longest increasing subsequence of length 3. 2
1, 3, 11, 31, 92, 253, 709, 1936, 5336, 14587, 40119, 110202, 304137, 840597, 2332469, 6487762, 18106906, 50667263, 142194843, 400057791, 1128408337, 3190023641, 9038202201, 25659417876, 72987714502, 207983161609, 593665226069, 1697230353691, 4859461136196 (list; graph; refs; listen; history; text; internal format)
OFFSET

3,2

COMMENTS

Also the number of Young tableaux with n cells and 3 rows.

LINKS

Alois P. Heinz, Table of n, a(n) for n = 3..1000

FORMULA

a(n) = A182172(n,3) - A182172(n,2) = A001006(n) - A001405(n).

EXAMPLE

a(3) = 1: 123.

a(4) = 3: 1243, 1324, 2134.

a(5) = 11: 12543, 13254, 14325, 14523, 15342, 21354, 21435, 32145, 34125, 42315, 52341.

MAPLE

a:= proc(n) option remember; `if`(n<3, 0, `if`(n=3, 1,

      ((n+1)*(6*n^3-5*n^2-7*n-24)*a(n-1)

       +n*(n-1)*(21*n^2-28*n-109)*a(n-2)

       -2*(n-1)*(n-2)*(12*n^2+11*n-3)*a(n-3)

       -12*(3*n+5)*(n-1)*(n-2)*(n-3)*a(n-4))/

      ((n-3)*(3*n+2)*(n+2)*(n+1))))

    end:

seq(a(n), n=3..40);

CROSSREFS

Column k=3 of A047884.

Cf. A001006, A001405, A182172.

Sequence in context: A268800 A054343 A108898 * A263781 A119901 A106934

Adjacent sequences:  A217320 A217321 A217322 * A217324 A217325 A217326

KEYWORD

nonn,easy

AUTHOR

Alois P. Heinz, Sep 30 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified April 24 00:59 EDT 2017. Contains 285338 sequences.