Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: Notesfiles $Revision: 1.6.2.17 $; site uiucdcs.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!inuxc!pur-ee!uiucdcs!nachum From: nachum@uiucdcs.UUCP Newsgroups: net.math Subject: Re: permuting 0123456789 Message-ID: <28200053@uiucdcs.UUCP> Date: Mon, 18-Feb-85 22:17:00 EST Article-I.D.: uiucdcs.28200053 Posted: Mon Feb 18 22:17:00 1985 Date-Received: Thu, 21-Feb-85 07:23:12 EST References: <201@ihnet.UUCP> Lines: 10 Nf-ID: #R:ihnet:-20100:uiucdcs:28200053:000:263 Nf-From: uiucdcs!nachum Feb 18 21:17:00 1985 Such permutations are called "derangements". The number of derangements of n items is k n (-1) -1 n! sum ----- = round(n! e ) k=0 k! The problem is solved, for example, in Knuth vol. 1 p. 177ff.