@JonasTeuwen I'm raeding it, it seems it is about relationships or something of the sort but I don't understand by scannign it what is it they are calculating.
That reminds me of the observation that the Hall Marriage Theorem presupposes mixed-sex marriages, and does not hold if same-sex marriages are allowed.