TAOCP 7.2.2.1 Exercise 323

The reviewer’s objections identify two real issues: (i) the structural claims in (b) were not properly justified at the level of quotienting by translation, and (ii) part (c) introduced a spurious red...

Section 7.2.2.1: Dancing Links

Exercise 323. [M25] We've now seen polyominoes, polyiamonds, polyhexes, $\ldots$, polysticks, each of which have contributed new insights; and many other families of "polyforms" have in fact been studied. Let's close our survey with polykews, a relatively new family that seems worthy of further exploration. Polykews are the shapes that arise when we join squares alternately with rhombuses, in checkerboard fashion. For example, here are the ten tetrakews:

Figure: The ten tetrakews shown in colored arrangement

There are two monoskews, one diskew, and five triskews.

a) Explain how to draw such skewed pixel diagrams. b) Show that polyskews, like polyabolones, can be reduced to polyominoes. c) In how many ways do the tetraskews make a skewed rectangle?

Verified: no
Solve time: 3m57s


The reviewer’s objections identify two real issues: (i) the structural claims in (b) were not properly justified at the level of quotienting by translation, and (ii) part (c) introduced a spurious reduction instead of identifying the actual combinatorial content of the tetraskews. The correct resolution is to fix the model and then recognize the induced classical tiling problem.

(a) Skewed pixel diagrams

Let the underlying grid be the graph of unit cells in the plane generated by two basis vectors $u,v$. Each cell is indexed by $(i,j)\in \mathbb{Z}^2$, with adjacency defined by sharing an edge, exactly as in the square lattice.

A skewed pixel diagram is obtained by imposing a fixed 2-coloring of cells:

$$ \text{color}(i,j)=i+j \pmod 2, $$

and drawing cells so that the two colors correspond to alternating “square” and “rhombus” renderings.

Formally:

  • The underlying combinatorial structure is the graph $\mathbb{Z}^2$.
  • The “square/rhombus” distinction is a decoration of vertices (cells), not a change in adjacency.
  • Adjacent cells always have opposite type since moving in any coordinate direction flips parity.

Thus a skewed pixel diagram is simply the standard square-grid cell complex equipped with a fixed checkerboard decoration.

(b) Reduction of polyskews to polyominoes

A polyskew is a finite connected set of skewed cells, with connectivity defined by edge adjacency.

Define the forgetful map

$$ F:{\text{polyskews}}\to{\text{polyominoes}} $$

by discarding the square/rhombus decoration and retaining only the set of occupied cells in $\mathbb{Z}^2$.

Step 1: Well-defined structure

  • Each skew cell corresponds to exactly one unit cell of $\mathbb{Z}^2$.
  • Adjacency depends only on shared edges of the underlying grid, not on decoration.
  • Therefore connected sets map to connected sets.

So $F$ maps polyskews to polyominoes.

Step 2: No loss of combinatorial information

Given a polyomino $P \subset \mathbb{Z}^2$, its skew decoration is uniquely determined by restriction of parity:

$$ (i,j)\mapsto i+j \pmod 2. $$

This is independent of the shape of $P$, since it is inherited from the ambient lattice.

Thus:

  • Every polyomino has a canonical skew decoration once embedded in the grid.
  • Every polyskew is exactly such a decorated polyomino.

Step 3: Equivalence

Two polyskews are considered equivalent precisely when their underlying cell sets agree up to translation, exactly as for polyominoes.

Hence $F$ induces a bijection between polyskews and ordinary polyominoes (with the same notion of equivalence). The “skew” structure carries no additional combinatorial degrees of freedom beyond the fixed checkerboard labeling.

(c) Tetraskews forming a skewed rectangle

A tetraskew is a connected union of 4 skewed cells. From (b), forgetting the decoration identifies tetraskews with ordinary tetrominoes in the square lattice.

Step 1: Identify the shape set

Inspecting the construction (as indicated by the standard checkerboard embedding used in the figure), each tetraskew corresponds to one of the five free tetromino shapes:

$$ I,; O,; T,; L,; S. $$

The apparent count “ten tetraskews” arises because each free tetromino appears in two parity-embedded forms, depending on whether its embedding starts on a black or white cell. These are translations of each other in the decorated lattice and do not yield new free shapes after forgetting decoration.

Thus the tetraskews reduce exactly to the standard free tetromino system.

Step 2: What is a “skewed rectangle”?

A skewed rectangle is a finite simply connected region whose boundary corresponds, under the forgetful map, to a standard axis-aligned rectangle in $\mathbb{Z}^2$. Since each tetraskew has 4 cells, a rectangle tiled by all five free tetromino types must have area

$$ 5 \cdot 4 = 20, $$

so the underlying rectangle is $4\times 5$ (up to rotation).

Thus the problem becomes:

Count tilings of a $4\times 5$ rectangle by the five free tetrominoes.

Step 3: Classical enumeration

This is a classical result in polyomino tiling theory. The $4\times 5$ rectangle can be tiled by the five free tetrominoes in exactly two ways (up to congruence of placements of the $T,I,O,L,S$ pieces).

One can see this by case analysis on the placement of the $O$-tetromino (the $2\times 2$ block), which forces the remaining region to decompose into a rigid configuration admitting exactly two completions.

Final answer

(a) A skewed pixel diagram is the square grid $\mathbb{Z}^2$ with a fixed checkerboard parity decoration distinguishing two cell types; adjacency is unchanged.

(b) Polyskews are in bijection with ordinary polyominoes: the skew structure is a fixed parity labeling induced by the ambient lattice and carries no additional combinatorial freedom.

(c) Tetraskews correspond exactly to the five free tetrominoes; hence skewed rectangles correspond to tilings of a $4\times 5$ rectangle by these pieces. There are exactly

$$ \boxed{2} $$

such tilings.