PROJECT EULER · #0554
Centaurs on a Chess Board
On a chess board, a centaur moves like a king or a knight. The diagram below shows the valid moves of a centaur (represented by an inverted king) on an

It can be shown that at most
Let
For example
Let
Find
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.