MathDB
2023 Combinatorics #8

Source:

February 28, 2024
combinatorics

Problem Statement

A random permutation a=(a1,a2,...,a40)a = (a_1, a_2,...,a_{40}) of (1,2,...,40)(1, 2,...,40) is chosen, with all permutations being equally likely. William writes down a 20×2020 \times 20 grid of numbers bijb_{ij} such that bij=max(ai,aj+20)b_{ij} = \max (a_i, a_{j+20}) for all 1i,j201 \le i, j \le 20, but then forgets the original permutation aa. Compute the probability that, given the values of bijb_{ij} alone, there are exactly 22 permutations aa consistent with the grid.