|
Search: id:A000387
|
|
|
| A000387 |
|
Rencontres numbers: permutations with exactly two fixed points. (Formerly M4138 N1716)
|
|
+0 12
|
|
| 1, 0, 6, 20, 135, 924, 7420, 66744, 667485, 7342280, 88107426, 1145396460, 16035550531, 240533257860, 3848532125880, 65425046139824, 1177650830516985, 22375365779822544, 447507315596451070, 9397653627525472260, 206748379805560389951
(list; graph; listen)
|
|
|
OFFSET
|
2,3
|
|
|
COMMENT
|
Also: odd permutations of length n with no fixed points. - Martin Wohlgemuth (mail(AT)matroid.com), May 31 2003
|
|
REFERENCES
|
J. Riordan, An Introduction to Combinatorial Analysis, Wiley, 1958, p. 65.
|
|
LINKS
|
M. Wohlgemuth Derangements revisited
|
|
FORMULA
|
a(n) = sum((-1)^j*n!/(2!*j!), j=2..n-2)
a(n) = A000166(n-2)*binomial(n, 2). - David Wasserman (wasserma(AT)spawar.navy.mil), Aug 13 2004
|
|
MAPLE
|
a:=n->sum(n!*sum((-1)^k/(k-1)!, j=0..n), k=1..n): seq(-a(n)/2!, n=1..21); - Zerinvary Lajos (zerinvarylajos(AT)yahoo.com), May 18 2007
|
|
CROSSREFS
|
Cf. A000240, A000449, A000475.
A diagonal of A008291.
a(n)+A0003221(n)=A000166(n).
Sequence in context: A074013 A114959 A000386 this_sequence A027148 A095854 A027268
Adjacent sequences: A000384 A000385 A000386 this_sequence A000388 A000389 A000390
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
njas
|
|
|
Search completed in 0.002 seconds
|