Turing Trains i Logo Wang Tiles Maze Arrays

# Wang Tiles

 edge and corner matched tilesets menu

## Tile Matching Puzzles

A set of Wang tiles makes a natural tile matching puzzle. Typically, the pieces need to be formed into a square or rectangular array with all tiles matching up correctly. Sometimes, the array perimeter needs to be a single color too.

There are two main types of puzzle, those using an edge matching tileset and those using a corner matching tileset.

When using Wang tiles as Puzzle tiles, tiles can be rotated. This gives 1, 2 or 4 different Wang tiles for each Puzzle tile. To denote this, tiles depict the lowest Wang index number on a circular instead of square background. Tile-8 is the only tile that can be mis-read upside down. It has a green North edge or North-East corner.

### 3-edge tiles

A complete set of Wang tiles with three different types of edge has 4^3= 81 tiles. The complete set can be arranged in a 9x9 array (or layout). See 3-edge Wang tiles page for both recursive and a symmetrical layout.

Some tiles are self-similar when rotated. The table below lists all 81 tiles in 24 self similar groups. Each index number represents a 90° rotation clockwise. The tile with the lowest index number in each group is shown. If we allow rotation of tiles then we can reduce the 81 tiles to 24 tiles, by selecting one tile from each group.

 0 40 80 10 30 20 60 50 70 1 3 9 27 2 6 18 54 13 39 37 31 41 43 49 67 26 78 74 62 53 79 77 71 4 12 36 28 8 24 72 56 44 52 76 68 5 15 45 55 7 21 63 29 22 66 38 34 14 42 46 58 17 51 73 59 25 75 65 35 11 33 19 57 16 48 64 32 23 69 47 61

These 24 tiles are called 'MacMahon Squares'.

### MacMahon Squares

This 3-color edge matching puzzle set was invented by British mathematician Major Percy MacMahon. He introduced them in the first edition of his book, New Mathematical Pastimes in 1921.
These 24 square 'puzzle' tiles are a sub-set of the full 81 3-edge Wang tile set. The pieces, unlike Wang tiles, can be rotated. Tiles are denoted by their 'lowest' Wang index number for each group as shown.

The task is to arrange the 24 tiles into a 6x4 array. Slightly more difficult is to ensure the perimeter of the array is a single color. Some of the many (12,261) possible solutions are shown below.

And another couple of solutions from Sphere Packing, Lewis Caroll and Reversi by Martin Gardner. A lobster shape of largest single color area and three isolated diamonds of different colors.

The MacMahon Squares can also be arranged into a 5x5 array with a vacant space in the middle. The solution shown also has a single color outside perimeter.

We can reduce this set further by choosing tiles which contain a single color or only two colors in a 50/50 split. This leaves 15 'puzzle' tiles.

These 15 tiles can be arranged in a 5x3 array. A not very challenging puzzle. It is not possible to have a single color perimeter. It may be possible for the array to wrap.

### MultiMatch I

"A 3-color set of 24 all-different edge-colored tiles"
is sold as MULTIMATCH® I by Kadon Enterprises.

### 4-edge tiles

The complete Wang tileset contains 4^4 = 256 tiles. We can reduce the tileset by removing tiles that are self-similar when rotated by 90°. This produces a 'puzzle' tileset of 70 tiles which can be arranged into a 10x7 grid. The solution below also has a single color stage perimeter.

We can reduce this set further by choosing tiles which contain a single color or only two colors in a 50/50 split. This leaves 16 'puzzle' tiles, which can be arranged in a 4x4 square array.

### 5-edge Marshall Tileset

A complete set of Wang tiles with five different types of edge contains 5^4= 625 tiles. Some tiles are self-similar when rotated by 90°. Removing these tiles produces a reduced tile set of 165 tiles. We can reduce this set further by choosing tiles which contain a single color or only two colors in a 50/50 split. This leaves 25 'puzzle' tiles, which can be arranged in a 5x5 square array.

### 3-corner tiles

A complete set of Wang tiles with three different types of corner has 4^3= 81 tiles. (Also see 3-corner Wang tiles). Some tiles are self-similar when rotated by 90°.

 0 40 80 10 30 20 60 50 70 1 3 9 27 2 6 18 54 13 39 37 31 41 43 49 67 26 78 74 62 53 79 77 71 4 12 36 28 8 24 72 56 44 52 76 68 5 15 45 55 7 21 63 29 22 66 38 34 14 42 46 58 17 51 73 59 25 75 65 35 11 33 19 57 16 48 64 32 23 69 47 61

In a similar manner to MacMahon Squares above, we can remove self-similar tiles and reduce the set to 24 'puzzle' tiles.

The tiles can be used to create a 6x4 array, or 5x5 array with a vacant space in the middle. Again, each tile can now be rotated.

### MultiMatch II

"set of 24 unique 3-color squares"
is sold as MULTIMATCH® II by Kadon Enterprises.
 Wang Tiles | cr31.co.uk | 2018