# Polycube

The seven free tetracubes
A chiral pentacube
Puzzle with a unique solution

A polycube is a solid figure formed by joining one or more equal cubes face to face. It is a polyform whose base form is a cube. Polycubes are the three-dimensional analogues of the planar polyominoes. The Soma cube and the Bedlam cube are examples of packing problems based on polycubes.

## Enumerating polycubes

Like polyominoes, polycubes can be enumerated in two ways, depending on whether chiral pairs of polycubes are counted as one polycube or two. For example, 6 tetracubes have mirror symmetry and one is chiral, giving a count of 7 or 8 tetracubes respectively. Unlike polyominoes, polycubes are usually counted with mirror pairs distinguished, because one cannot turn a polycube over to reflect it as one can a polyomino. In particular, the Soma cube uses both forms of the chiral tetracube.

n Name of n-polycube Number of one-sided n-polycubes
(reflections counted as distinct)
(sequence A000162 in OEIS)
Number of free n-polycubes
(reflections counted together)
(sequence A038119 in OEIS)
1 monocube 1 1
2 dicube 1 1
3 tricube 2 2
4 tetracube 8 7
5 pentacube 29 23
6 hexacube 166 112
7 heptacube 1023 607
8 octocube 6922 3811

Kevin Gong has enumerated polycubes up to n=16. See the external links for a table of these results.

## Properties of pentacubes

Twelve pentacubes are flat and correspond to the pentominoes. Of the remaining 17, five have mirror symmetry, and the other 12 form six chiral pairs. The types of the flats are 5-1-1, 4-2-1, 3-3-1, 3-2-1. The 3-D types are 4-2-2, 3-2-2, 2-2-2.

A polycube may have up to 24 orientations in the cubic lattice, or 48 if reflection is allowed. Of the pentacubes, two flats (5-1-1 and the cross) have mirror symmetry in all three axes; these have only three orientations. Ten have one mirror symmetry; these have 12 orientations. Each of the remaining 17 pentacubes has 24 orientations.

Two typical puzzles with pentacubes are to fill a 5×5×5 box with 25 different pentacubes, and to pack all 29 pentacubes into a 9×9×3 box. In the first puzzle, the first piece may be placed in over 2,000 ways. More puzzles may be found at sourceforge.net and by following the links below.