Dalaoli on Math

The tangram shape with the most tilings

A tangram shape can often be tiled in several ways. Which shape has the most? The best answer found so far is the concave heptagon below: a 3×2 rectangle with a trapezoid on top and a small triangle at the bottom. It has 47 essentially different tilings.

Outline: 7 sides, area 8, no symmetry
One of its tilings

All 47 tilings

The exact-cover program finds 188 raw solutions. The shape has no symmetry, so dividing by the factor of 4 from swapping the two large and the two small triangles leaves 47.

How it was found

There are far too many shapes of area 8 to enumerate them all, so we asked a narrower question. A shape with many tilings should be “fat”, with a large solid region inside where the pieces can trade places. So we fix a “core” the shape must contain, grow outward from it by attaching whole or half cells along the boundary until we have every simple polygon containing that core, and count the tilings of each one with Dancing Links.

The smaller the core, the weaker the constraint and the more shapes to check. Each of the three searches below uses a smaller core than the one before and contains all of its shapes:

Required coreDistinct shapesTileableMost tilings
2×3 rectangle2,7932,67047
2×2 square plus 1 cell (P-pentomino)193,081139,04847
2×2 square291,899174,56147

All three searches crown the same shape, and the top 20 counts agree exactly: 47, 46, 42, 41, 41, 39, 38, 38, 37, 37, … The last search already includes every shape with a solid 2×2 block, among them the classic tangram square (which sits at 45° on this grid).

So 47 is strong empirical evidence, not a proof. What remains uncovered are thin shapes without even one solid 2×2 block; they are narrow everywhere and have few tilings, so beating 47 is very unlikely. The last search grew 2.35 million configurations, deduplicated them by polygon vertices to 290,000 shapes before counting, and took about 2.8 hours on two cores.

Compared with pentagons and hexagons

FamilyShapesMost tilingsTotal tilings
Snug pentagons2234 (#4)273
Snug hexagons20034 (#16)1914
Shapes containing a 2×2 square174,56147 (this page)—

The opposite extreme is the number of sides: the snug polygon with the most sides a tangram can form has 18, a notched “fish” with very few tilings. Many tilings call for a fat shape with few sides; many sides call for a jagged shape full of notches. The two extremes land on completely different shapes.

Comments