Skip to content

Explain the probability in rand_derangement() #1

@cristoper

Description

@cristoper

Currently the weblog post mentions that Martínez et al's algorithm works because of a "specific probability" but it doesn't explain how that is derived from the recurrence relation for Dn.

Metadata

Metadata

Assignees

Labels

blogpostFor issues about the accompanying weblog article

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions