Friday, May 8, 2015

The Dog Situation

8 dogs riddle
The Rector's four boys have done their best to make the dog situation at the rectory confusing. Each of the four, their names Alec, Bob, Charlie, and David, owns two dogs, and each has named his dogs after two of his brothers. Each boy has, in consequence, two doggy namesakes.

Of the eight dogs, three are cocker spaniels, three are terriers, and two are dachshunds. None of the four boys owns two dogs of the same breed. No two dogs of the same breed have the same name. Neither of Alec's dogs is named David and neither of Charlie's dogs is named Alec. No cocker spaniel is named Alec, and no terrier is named David. Bob does not own a terrier.

What are the names of the dachshunds, and who are their owners?

The Dog Situation Puzzle Solution

One of the dachshunds is owned by Bob and is named Alec, while the other is owned by Charlie and is called David.

To get to the solution, let's gather all the information we're given:

1 Each boy has named his dogs after two of his brothers
2 Each boy has two doggy namesakes
3 There are 3 cocker spaniels, 3 terriers, and 2 dachshunds
4 None of the four boys owns two dogs of the same breed
5 No two dogs of the same breed have the same name
6 Neither of Alec's dogs is named David
7 Neither of Charlie's dogs is named Alec
8 No cocker spaniel is named Alec
9 No terrier is named David
10 Bob does not own a terrier 

With this info, it follows that:

11 Alec's dogs are named Bob and Charlie (from 6 and 1)
12 Charlie's dogs are named Bob and David (from 7 and 1)
13 David's dogs are named Alec and Charlie (from 11, 12, 1 and 2)
14 Bob's dogs are named Alec and David (from 11, 12, 13, 1 and 2)
15 Bob's dogs are a cocker and a dachshund (from 3, 4 and 10)
16 The 3 cockers are called Bob, Charlie, and David (from 3, 5 and 8)
17 The 3 terriers are called Alec, Bob, and Charlie (from 3, 5 and 9)
18 The 2 dachshunds are called Alec and David, because the names Bob and Charlie are already taken by cockers and terriers (from 2, 3, 16 and 17)
19 Bob's dachshund must be called Alec, because there are no cockers with that name (from 14, 15, 16 and 18)
20 Bob's cocker is called David (from 14, 15, 16, 18 and 19)
21 The dachshund called David must belong to Charlie (from 12, 18 and 20)

Deductions 19 and 21 have given us the solution to the puzzle.