Discrete Mathematics & Theoretical Computer Science (Jan 2014)

A new generation tree for permutations, preserving the number of fixed points

  • Philippe Duchon,
  • Romaric Duvignau

DOI
https://doi.org/10.46298/dmtcs.2433
Journal volume & issue
Vol. DMTCS Proceedings vol. AT,..., no. Proceedings

Abstract

Read online

We describe a new uniform generation tree for permutations with the specific property that, for most permutations, all of their descendants in the generation tree have the same number of fixed points. Our tree is optimal for the number of permutations having this property. We then use this tree to describe a new random generation algorithm for derangements, using an expected n+O(1) calls to a random number generator. Another application is a combinatorial algorithm for exact sampling from the Poisson distribution with parameter 1.

Keywords