Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A005284
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A005284 Number of permutations by inversions.
(Formerly M4178)
+0
5
1, 6, 27, 111, 440, 1717, 6655, 25728, 99412, 384320, 1487262, 5762643, 22357907, 86859412, 337879565, 1315952428, 5131231668, 20029728894, 78265410550, 306109412100, 1198306570554, 4694809541046, 18407850118383 (list; graph; listen)
OFFSET

6,2

REFERENCES

R. K. Guy, personal communication.

R. H. Moritz and R. C. Williams, A coin-tossing problem and some related combinatorics, Math. Mag., 61 (1988), 24-29.

E. Netto, Lehrbuch der Combinatorik. 2nd ed., Teubner, Leipzig, 1927, p. 96.

LINKS

B. H. Margolius, Permutations with inversions, J. Integ. Seqs. Vol. 4 (2001), #01.2.4.

FORMULA

a(n)=2^{2n+5}/sqrt{pi n}Q(1+O(n^{-1})) where Q is a digital search tree constant, Q = 0.2887880951...

MAPLE

g := proc(n, k) option remember; if k=0 then return(1) else if (n=1 and k=1) then return(0) else if (k<0 or k>binomial(n, 2)) then return(0) else g(n-1, k)+g(n, k-1)-g(n-1, k-n) end if end if end if end proc; seq(g(j+6, j), j=0..30);

CROSSREFS

Cf. A008302, A005283, A005285.

Sequence in context: A094788 A003517 A108958 this_sequence A014825 A079742 A130019

Adjacent sequences: A005281 A005282 A005283 this_sequence A005285 A005286 A005287

KEYWORD

nonn

AUTHOR

njas

EXTENSIONS

More terms, Maple code, asymptotic formula from Barbara Haas Margolius (margolius(AT)math.csuohio.edu) 5/31/01

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 29 17:54 EDT 2008. Contains 143238 sequences.


AT&T Labs Research