Binary grid colouring
Let be the number of ways an square grid can be coloured, each cell either black or white, such that each row and each column contains exactly two black cells.
For example, , and .
Let be the number of colourings in that are unique up to rotations and reflections.
You are given , and giving .
Find . Give your answer modulo .
网格黑白染色
对的网格进行黑白染色,记使得每行和每列都恰好有两个黑格的染色方法数目为。
例如,,,。
在中,将所有旋转或翻转后可重合的染色方法视为相同的方法,记不同染色方法数目为。
已知,,,因此。
求,并将你的答案对取余。
Gitalking ...