Determination of how many ways it is possible to place N×N queens on the board that do not beat each other