VIEW THE MOBILE VERSION of www.mathpuzzle.ca Informational Site Network Informational
Privacy
Home Top Rated Puzzles Most Viewed Puzzles All Puzzle Questions Random Puzzle Question Search


THE EIGHT VILLAS.

(Combination and Group Problems)
In one of the outlying suburbs of London a man had a square plot of
ground on which he decided to build eight villas, as shown in the
illustration, with a common recreation ground in the middle. After the
houses were completed, and all or some of them let, he discovered that
the number of occupants in the three houses forming a side of the square
was in every case nine. He did not state how the occupants were
distributed, but I have shown by the numbers on the sides of the houses
one way in which it might have happened. The puzzle is to discover the
total number of ways in which all or any of the houses might be
occupied, so that there should be nine persons on each side. In order
that there may be no misunderstanding, I will explain that although B is
what we call a reflection of A, these would count as two different
arrangements, while C, if it is turned round, will give four
arrangements; and if turned round in front of a mirror, four other
arrangements. All eight must be counted.
[Illustration:
/ / /
|2 | |5 | |2 |
/ /
|5 | |5 |
/ / /
|2 | |5 | |2 |
+---+---+---+ +---+---+---+ +---+---+---+
| 1 | 6 | 2 | | 2 | 6 | 1 | | 1 | 6 | 2 |
+---+---+---+ +---+---+---+ +---+---+---+
| 6 | | 6 | | 6 | | 6 | | 4 | | 4 |
+---+---+---+ +---+---+---+ +---+---+---+
| 2 | 6 | 1 | | 1 | 6 | 2 | | 4 | 2 | 3 |
+---+---+---+ +---+---+---+ +---+---+---+
A B C
]


Answer:

There are several ways of solving the puzzle, but there is very little
difference between them. The solver should, however, first of all bear
in mind that in making his calculations he need only consider the four
villas that stand at the corners, because the intermediate villas can
never vary when the corners are known. One way is to place the numbers
nought to 9 one at a time in the top left-hand corner, and then consider
each case in turn.
Now, if we place 9 in the corner as shown in the Diagram A, two of the
corners cannot be occupied, while the corner that is diagonally opposite
may be filled by 0, 1, 2, 3, 4, 5, 6, 7, 8, or 9 persons. We thus see
that there are 10
[Illustration:
+---+---+ +-+-----+ +---+---+
|O OHO O| |OHO O O| |O OHO O|
| H | | + | | +=+ |
|O OHO O| |OHO O O| |O OHOHO|
+-+ +-+-+ +-+-----+ +---+ + |
|O|O O|O| |O|O O O| |O O O|O|
| +---+ | | +-+-+ | | +-+ |
|O O O O| |O O OHO| |O O|O O|
+-------+ +-------+ +-------+
2 3 4
+-----+-+ +-+-----+ +-------+
|O O OHO| |OHO O O| |O O O O|
| +=+ | | +=+ | | +=+=+=+
|O OHO O| |OHOHO O| |OHOHO O|
| +-+-+ + | + +-+ | + + + |
|O|O O|O| |O|O O|O| |O|OHO O|
+=+ +=+ | + +=+ +=+ + |
|O O O O| |OHO O O| |O O|O O|
+-------+ +-+-----+ +---+---+
5 6 7
THE SIXTEEN SHEEP
]
solutions with a 9 in the corner. If, however, we substitute 8, the two
corners in the same row and column may contain 0, 0, or 1, 1, or 0, 1,
or 1, 0. In the case of B, ten different selections may be made for the
fourth corner; but in each of the cases C, D, and E, only nine
selections are possible, because we cannot use the 9. Therefore with 8
in the top left-hand corner there are 10 + (3 x 9) = 37 different
solutions. If we then try 7 in the corner, the result will be 10 + 27 +
40, or 77 solutions. With 6 we get 10 + 27 + 40 + 49 = 126; with 5, 10 +
27 + 40 + 49 + 54 = 180; with 4, the same as with 5, + 55 = 235 ; with
3, the same as with 4, + 52 = 287; with 2, the same as with 3, + 45 =
332; with 1, the same as with 2, + 34 = 366, and with nought in the top
left-hand corner the number of solutions will be found to be 10 + 27 +
40 + 49 + 54 + 55 + 52 + 45 + 34 + 19 = 385. As there is no other number
to be placed in the top left-hand corner, we have now only to add these
totals together thus, 10 + 37 + 77 + 126 + 180 + 235 + 287 + 332 + 366 +
385 = 2,035. We therefore find that the total number of ways in which
tenants may occupy some or all of the eight villas so that there shall
be always nine persons living along each side of the square is 2,035. Of
course, this method must obviously cover all the reversals and
reflections, since each corner in turn is occupied by every number in
all possible combinations with the other two corners that are in line
with it.
[Illustration:
A B C D E
+-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+
|9| |0| |8| |0| |8| |1| |8| |0| |8| |1|
+-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+
| || | | || | | || | | || | | || |
+-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+
|0| | | |0| | | |1| | | |1| | | |0| | |
+-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+ +-+-+-+
]
Here is a general formula for solving the puzzle: (n squared + 3n + 2)(n squared +
3n + 3)/6. Whatever may be the stipulated number of residents along
each of the sides (which number is represented by n), the total number
of different arrangements may be thus ascertained. In our particular
case the number of residents was nine. Therefore (81 + 27 + 2) x (81 +
27 + 3) and the product, divided by 6, gives 2,035. If the number of
residents had been 0, 1, 2, 3, 4, 5, 6, 7, or 8, the total
arrangements would be 1, 7, 26, 70, 155, 301, 532, 876, or 1,365
respectively.










Random Questions

The Miller's Puzzle
CANTERBURY PUZZLES
The Motor-garage Puzzle.
Moving Counter Problem
A Study In Thrift.
Money Puzzles
The Tiring Irons.
Unclassified Problems.
The Cardboard Chain.
Various Dissection Puzzles
Fifteen Letter Puzzle.
Combination and Group Problems
The Keg Of Wine.
Measuring, Weight, and Packing Puzzles.
The Yacht Race.
The Guarded Chessboard
The Artillerymen's Dilemma.
Money Puzzles
The Gardener And The Cook.
Unclassified Problems.
The Number Blocks
MISCELLANEOUS PUZZLES
The Folded Cross.
GREEK CROSS PUZZLES
Find The Man's Wife.
Unclassified Problems.
The Board In Compartments.
The Guarded Chessboard
Gold Packing In Russia.
Measuring, Weight, and Packing Puzzles.