Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A114938
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A114938 Number of permutations of the multiset {1,1,2,2,....,n,n} with no two consecutive terms equal. +0
6
0, 2, 30, 864, 39480, 2631600, 241133760, 29083420800, 4467125013120, 851371260364800, 197158144895712000, 54528028997584665600, 17752366094818747392000, 6720318485119046923315200 (list; graph; listen)
OFFSET

1,2

REFERENCES

R. P. Stanley, Enumerative Combinatorics Volume I, Cambridge University Press, 1997. Chapter 2, Sieve Methods, Example 2.2.3, page 68.

FORMULA

a(n)=Sum_{k=0..n}((C(n, k)*(-1)^(n-k)*(n+k)!)/2^k).

EXAMPLE

a(2)=2 because there are two permutations of {1,1,2,2} avoiding equal consecutive terms: 1212 and 2121.

CROSSREFS

Cf. A114939 = preferred seating arrangements of n couples.

Sequence in context: A020547 A160694 A013525 this_sequence A082653 A140174 A089016

Adjacent sequences: A114935 A114936 A114937 this_sequence A114939 A114940 A114941

KEYWORD

nonn

AUTHOR

Hugo Pfoertner (hugo(AT)pfoertner.org), Jan 08 2006

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 November 24 23:16 EST 2009. Contains 167481 sequences.


AT&T Labs Research