Enumerative combinatorics
Engel's inequality for Bell numbers
Journal of Combinatorial Theory Series A
Concrete Math
Simple Combinatorial Gray Codes Constructed by Reversing Sublists
ISAAC '93 Proceedings of the 4th International Symposium on Algorithms and Computation
The Art of Computer Programming: Combinatorial Algorithms, Part 1
The Art of Computer Programming: Combinatorial Algorithms, Part 1
Counting and computing the Rand and block distances of pairs of set partitions
Journal of Discrete Algorithms
Hi-index | 0.00 |
The Rand distance of two set partitions is the number of pairs {x,y} such that there is a block in one partition containing both x and y, but x and y are in different blocks in the other partition. Let R(n,k) denote the number of distinct (unordered) pairs of partitions of n that have Rand distance k. For fixed k we prove that R(n,k) can be expressed as $\sum_j c_{k,j} {n \choose j} B_{n-j}$ where ck,j is a non-negative integer and Bn is a Bell number. For fixed k we prove that there is a constant Kn such that $R(n,{n \choose 2}-k)$ can be expressed as a polynomial of degree 2k in n for all n≥Kn. This polynomial is explicitly determined for 0≤k≤3. The block distance of two set partitions is the number of elements that are not in common blocks. We give formulae and asymptotics based on N(n), the number of pairs of partitions with no blocks in common. We develop an O(n) algorithm for computing the block distance.