What can a tangram make?
The tangram has only seven pieces, yet the shapes it can form are countless. We used Knuth's Dancing Links exact-cover algorithm to enumerate a few families completely: which pentagons the tangram can form, which hexagons, and which shape has the most tilings. Every shape comes with all of its tilings.
All pentagons →
22 snug pentagons, each with all of its tilings, plus 31 “loose” pentagons in which pieces are offset by irrational distances: 53 in all.
All snug hexagons →
200 snug hexagons, 4 convex and 196 concave, with 1914 essentially different tilings between them.
The shape with the most tilings →
A concave heptagon with 47 essentially different tilings. All 47 are shown, along with how the search was done.
Highlights
- The tangram forms 53 pentagons: 22 snug (2 convex, 20 concave) and 31 loose. This matches the count by Lindgren and Read reported in Gardner's Tangrams, and the independent computer searches by Takeuchi and Beeler.
- There are 200 snug hexagons (4 convex, 196 concave). The 4 convex ones agree with the 1942 theorem of Fu Traing Wang and Chuan-Chih Hsiung: the tangram forms exactly 13 convex polygons, namely 1 triangle, 6 quadrilaterals, 2 pentagons and 4 hexagons.
- The known shape with the most tilings is a 7-sided concave heptagon with 47 essentially different tilings. Three successively wider searches, the last covering 290,000 shapes, found nothing with more.
- The best pentagon has 34 tilings, and so does the best hexagon; the fewest is a single tiling.
What is a snug shape?
Divide the plane into a grid of unit squares (the unit is the side of the tangram's square piece) and cut each square along both diagonals into 4 small isosceles right triangles. Every tangram piece is made of these small triangles: 2 for a small triangle, 4 each for the medium triangle, square and parallelogram, and 8 for a large triangle. That is 32 in total, for a total area of 8.
A shape that is also made of these small triangles is called snug. Every edge of every piece then lies on a grid line or a diagonal, and pieces meet edge to edge. Whether a snug shape can be tiled, and in how many ways, becomes an exact-cover problem: cover each of the 32 small triangles exactly once and use each of the 7 pieces exactly once. That is exactly what Dancing Links is good at.
The computation uses a grid subdivided once more, so tilings in which a piece is shifted half a cell along another piece's diagonal edge are found too, and the counts are complete.
Some tilings are not snug: a piece slides along another piece's edge by an irrational distance (such as √2 − 1), and its vertices leave the grid. Such shapes are called loose. No fixed grid can represent them, so they need exact geometry over ℚ[√2]. The 31 loose pentagons on the pentagon page were found this way.
“Essentially different” tilings
The exact-cover program counts raw solutions. The two large triangles are identical, and so are the two small ones, so swapping them gives another solution, and every tiling is counted 4 times. If the shape itself is symmetric (say, mirror-symmetric), a tiling and its rotated or reflected copy also count as one. Every count on this site is the number of essentially different tilings, with both kinds of duplicates removed:
essentially different tilings = raw solutions ÷ 4 ÷ symmetries of the shape
In the pictures, the two large triangles and the two small triangles get different shades only so the piece boundaries are easy to see.
Comments