2023 SSMO Team Round Problems/Problem 9
Problem
Let , , and be the total number of possible moves for a bishop, knight, or rook from any position of a by grid. Find .
(A bishop moves along diagonals, a rook moves along rows, and a knight moves in the form of a "L" shape)