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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A128565 Column 1 of triangle A128564; a(n) equals the number of permutations of {1..n+2} with [n/2+1] inversions for n>=0. 2
1, 2, 5, 9, 29, 49, 174, 285, 1068, 1717, 6655, 10569, 41926, 66013, 266338, 416687, 1703027, 2651355, 10947079, 16976806, 70673825, 109256095, 457927079, 706071989, 2976282415, 4579020513, 19395654894, 29784426945, 126688273871 (list; graph; refs; listen; history; internal format)
OFFSET

0,2

FORMULA

a(n) = A008302(n+2,[n/2+1]) = coefficient of q^[n/2+1] in the q-factorial of n+2 for n>=0.

PROG

(PARI) {a(n)=polcoeff(prod(j=1, n+2, (1-q^j)/(1-q)), (n+2)\2, q)}

CROSSREFS

Cf. A008302 (Mahonian numbers); A128564 (triangle), A128566 (column 2).

Sequence in context: A139796 A086586 A105456 * A151952 A090291 A161137

Adjacent sequences:  A128562 A128563 A128564 * A128566 A128567 A128568

KEYWORD

nonn

AUTHOR

Paul D. Hanna (pauldhanna(AT)juno.com), Mar 12 2007

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

Content is available under The OEIS End-User License Agreement .

Last modified February 16 06:22 EST 2012. Contains 205860 sequences.