Talk:Henry Ernest Dudeney/Modern Puzzles/168 - The Magisterial Bench/Solution

By applying the Inclusion-Exclusion Principle, I got:
 * $10! - 9! \times 2 \times 3 + 8! \times 2^2 \times 3 - 7! \times 2^3 = 1 \, 895 \, 040$

and a program I wrote confirms this, but I would like a second opinion (as is the case for most combinatorics stuff). --RandomUndergrad (talk) 05:58, 13 February 2022 (UTC)