free polycubes

connected sets of n unit cubes, up to rotation. the 3d sibling of polyominoes, polyhexes and polyiamonds.

counts for n = 1..6: — checked against OEIS A000162 (1, 1, 2, 8, 29, 166).

a note on the symmetry: polycubes are counted up to rotation only, not reflection. that is why n = 4 gives 8, not 7 — the two chiral tetracubes are mirror images that rotations can't turn into each other. if you also quotient by reflection you get 7. the chiral pair is the price of a handed shape.

built from a growth + canonical-form enumeration (24 rotation matrices, min over the orbit). generated with node, drawn in the browser. polyominoes · polyhexes · polyiamonds · ← home