Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Derangement: efficient full permutation
Date: Sun, 6 Feb 2011 22:27:04 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 10
Message-ID: <iin77n$rje$1@fred.mathworks.com>
References: <ii8ut8$3fb$1@fred.mathworks.com> <ii90lg$qmd$1@fred.mathworks.com> <590b82f4-743b-41f3-a43c-10ea68a644ce@e21g2000yqe.googlegroups.com> <iin0v4$ic2$1@fred.mathworks.com> <iin5l5$h5n$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1297031224 28270 172.30.248.48 (6 Feb 2011 22:27:04 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 6 Feb 2011 22:27:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:708492

"Derek O'Connor" wrote in message <iin5l5$h5n$1@fred.mathworks.com>...
> "Bruno Luong" <b.luong@fogale.findmycountry> wrote in message 
> 
> I assume (hope?) this uniformity continues for much higher values
> of n, where such testing is impossible.
> 

I think that observation can be explained very well: for large n, derangement converges to permutation, and Jan Simon's converges to Knuth's. Though the small bias will be there.

Bruno