Counting possible positions in the board game Battleship, regular and hexagonal
possiblywrong.wordpress.com