![]() Volume 9, Issue 3 Articles Tricks of the Trade In and Out Trott's Corner New Products New Publications Calendar News Bulletins New Resources Letters Classifieds Download This Issue Editorial Policy Staff and Contributors Submissions Subscriptions Advertising Back Issues Contact Information |
Polyominoes and Related Families
Tiling Rectangles with PolyominoesIn this section, we approach the problem of tiling a rectangle by using pieces taken from a set of polyominoes. Naturally, the area of the rectangle has to be equal to the sum of the areas of the individual pieces in the set. Thus, we immediately know that it would be impossible to fill a rectangle of area 11 with dominoes or one of area 10 with triominoes, although it is not immediately apparent that we could fill a rectangle of arbitrary area (greater than 2) using dominoes and triominoes. This section comprises three parts. The first one discusses tiling a rectangle allowing repetitions of the pieces taken from a given list. The second part will consider those tilings having no fault lines. Finally, in the last part we will tile using all pieces of a given set. The function tess uses the backtrack method to construct all possible tilings of an
For instance, here is how to get all possible ways of tiling a
Even nonpolyomino pieces are allowed. Consider, for instance, the "number 8" piece
Here are all possible tilings of a
In general, the number of tilings of
Here are all possible tilings of a
Here is a generating function for these numbers [7].
Or, more explicitly [7].
Let us now explore the tiling of a
The number of such tilings is somewhat expected.
Using the complete set of triominoes, we obtain the following ([5, 6], seq. A001835).
Compare this sequence with the number of tilings of a We now consider both sets of dominoes and triominoes together.
Let us now compute the number of ways of tiling an
The elements of the diagonal correspond to [5, 6], seq. A004003. Here is the corresponding result for triominoes [8].
The contributions to this result by the individual triominoes are small.
Although there are no
In general, an
The next two examples show the time needed to get one solution versus all solutions.
Fault-Free TilingsAs the number of different solutions grows, we would like to consider only those that have not appeared in smaller instances of the problem. For example, the tilings of a
In tiling a rectangle, we might generate fault lines. A fault line is any horizontal or vertical line that divides a tiling so that it can be regarded as the union of the tilings of two subrectangles [10]. The function tileNF computes all fault-free tilings of an
We use this predicate to select the tilings without fault lines appearing in the previous example.
A more abundant example shows all fault-free tilings of a
Do tilings with dominoes always have fault lines? Not always.
Here are the smallest counterexamples.
Fault-free tilings produced by 3-ominoes are also interesting.
Like the tilings without restrictions from the previous section, the contributions of the individual pieces to this total are minuscule.
The smallest examples of fault-free tilings of squares by each polyomino produce patterns of striking beauty.
JigsawsLet us now approach the problem of tiling an
For instance, let us compute all possible tilings that also happen to be fault free using the set of pentominoes.
We can generate a tiling of the
Unfortunately, the family of 35 hexominoes cannot tile a rectangle. In dealing with tilings with heptominoes, we have to consider that one of them has a hole and so we cannot tile a rectangle without a hole. For instance, in attempting to tile 12
|
||||||||
About Mathematica | Download Mathematica Player © 2005 Wolfram Media, Inc. All rights reserved. |