Relating numbers to battleships