A polycube is the three-dimensional analog of a polyomino. It consists of congruent cubes
joined along entire faces, with disjoint interiors.
The polycube counts identify translations and rotations. A polycube and its mirror
image count separately if they are distinct under this equivalence. For , 2, ... cubes, the numbers
of polycubes are 1, 1, 2, 8, 29,
166, 1023, ... (OEIS A000162; Ball and Coxeter
1987).
Polycubes may be conveniently represented and visualized in the Wolfram Language using ArrayMesh.
There are 1390 distinct ways to pack the eight tetracubes (polycubes of order ) into a
box, identifying whole-box rotations
but counting mirror images separately (Beeler 1972).
Identifying mirror images as well gives 695 packings.
Demaine and Langerman (2026) reported that deciding whether a single face-connected polycube tiles three-dimensional Euclidean space by translations alone is undecidable. More precisely, the complement of this decision problem is complete among recursively enumerable sets under computable many-one reductions. The authors supply a Lean formalization and disclose language-model assistance with the construction and technical article.
Demaine and Langerman (2026, revised version) also report the same co-recursively-enumerable completeness when arbitrary rotations, arbitrary hyperplane reflections, or both
are allowed in addition to translations. More generally, their formal statements
apply in every fixed dimension to a single facet-connected finite union of unit
-cubes. The authors provide the precise
theorem statements and definitions in their Lean repository; the preprint is an overview
of the construction rather than a complete human-readable proof.