Friday, April 14, 2006

April 2006: Queen domination

A chessboard is dominated if every square either has a piece on it or is attacked by a piece. An 8x8 board can be dominated with 12 Knights as shown below.

Can you dominate a 5x12 board with 4 Queens?

Your final solution should be the chessboard with 4 Queens drawn in. Or, submit the positions of the 4 Queens based on the labeling of the board above.

You can download a printable version here: (pdf)

[If you solve this one, try dominating the 5x12 board with 10 Knights; a much harder problem.]

March 2006: A Lewis Carroll puzzle (solution)

This is the solution to last month's puzzle, A Lewis Carroll puzzle.

The only animals in this house are cats.
Every animal is suitable for a pet, that loves to gaze at the moon.
When I detest an animal, I avoid it.
No animals are carnivorous, unless they prowl at night.
No cat fails to kill mice.
No animals ever take to me, except what are in this house.
Kangaroos are not suitable for pets.
None but carnivora kill mice.
I detest animals that do not take to me.
Animals, that prowl at night, always love to gaze at the moon.

Logical conclusion: I avoid kangaroos.

Justification:

H: it is in this house
F: it is a cat
G: it loves to gaze at the moon
D: I detest it
A: I avoid it
P: it is suitable for a pet
C: it is a carnivore
N: it prowls at night
T: it takes to me
K: it is a kangaroo
M: it eats mice

The riddle breaks down as follows (note: each sentence can be replaced by its contrapositive).
H --> F
G --> P
D --> A
~N --> ~C
F --> M
~H --> ~T
K --> ~P
M --> C
~T --> D
N --> G

From which we conclude:
~A --> ~D --> T --> H --> F --> M --> C --> N --> G --> P --> ~K

Possible solutions:
If I do not avoid it, then it is not a kangaroo.
If it is a kangaroo, then I avoid it.
I avoid kangaroos.
Etc.

March 2006: A Lewis Carroll puzzle

In addition to being the author of classic children's books such as Alice in Wonderland, Lewis Carroll was an accomplished logician. Below is one of Lewis Carroll's famous logic puzzles. Use all ten statements of the riddle to draw the logical conclusion.

The only animals in this house are cats.
Every animal is suitable for a pet, that loves to gaze at the moon.
When I detest an animal, I avoid it.
No animals are carnivorous, unless they prowl at night.
No cat fails to kill mice.
No animals ever take to me, except what are in this house.
Kangaroos are not suitable for pets.
None but carnivora kill mice.
I detest animals that do not take to me.
Animals, that prowl at night, always love to gaze at the moon.

Hint: turn this into a puzzle of symbolic logic. For example, here is how you could solve another of Carroll's puzzles:

Things sold in the street are of no great value.
Nothing but rubbish can be had for a song.
Eggs of the Great Auk are very valuable.
It is only what is sold in the street that is really rubbish.

S: it is sold in the streets
V: it is valuable
R: it is rubbish
I: it is inexpensive
E: it is the egg of the Great Auk

Symbolically the puzzle becomes:

S --> ~V (or, using the contrapositive, V --> ~S)
I --> R (or ~R --> ~I)
E --> V (or ~V --> ~E)
R -->S (~S --> ~R)

Stringing these together we obtain: I --> R --> S --> ~V --> ~E

Thus the conclusion is I --> ~E or E --> ~I which can be written as:
If it is inexpensive then it is not the egg of a Great Auk.
If it is the egg of the Great Auk then it is not inexpensive.
Nothing inexpensive can be the egg of the Great Auk.
No egg of the Great Auk is inexpensive.
An egg of the Great Auk cannot be had for a song.
Etc.