D. Hugh Redelmeier 2026-11-05
D. Hugh Redelmeier developed an enumeration algorithm for polyominoes. It grows connected collections of lattice squares while carrying a controlled set of candidate additions and inherited exclusions. This avoids reaching the same fixed polyomino through multiple growth histories, allowing exact counting without storing every smaller shape as a separate comparison object.[ref]
Free polyomino 2026-11-05
A free polyomino is a polyomino considered up to translations, rotations, and reflections of the square lattice. Thus two finite side-connected unions of unit squares represent the same free shape whenever a lattice symmetry carries one to the other. Its absolute position and orientation are discarded.
For example, a two-square horizontal domino and a two-square vertical domino are the same free polyomino. A reflected L-shaped polyomino is also identified with its original. Under the fixed polyomino convention, translation is still ignored but rotation and reflection are not, so more shapes are distinguished. A shape with its own symmetries need not have eight distinct orientations: the orbit-stabilizer theorem accounts for the repetitions.
Redelmeier's algorithm Created 2026-10-20 Updated 2026-11-05
Redelmeier's algorithm enumerates fixed polyominoes, identifying translations while retaining different orientations. Put the leftmost cell of the bottom row at the origin. Allowed cells lie above the horizontal axis, or on it at nonnegative horizontal coordinates.
Maintain the occupied set of cells, an untried frontier of adjacent cells, and exclusions inherited from earlier branches. Remove a frontier cell , occupy it, and add neighbours newly exposed by . Recurse with a copy of the updated frontier. On returning, undo those new neighbours and remove from the occupied set, but keep excluded from later sibling branches.
The exclusion prevents a later branch from reconstructing a polyomino already assigned to the branch containing . Requiring new cells to touch the occupied set preserves connectivity; every canonical polyomino has a branch determined by its first available frontier choice. Thus each fixed polyomino is visited once.
At size two there are two fixed polyominoes, horizontal and vertical, but one free polyomino after identifying rotations. Counting free polyominoes needs an additional treatment of symmetry.[ref]