pentominoes, a MATLAB code which provides some utilities for manipulating pentominoes.
A pentomino is a shape formed by connecting 5 unit squares edgewise. Ignoring reflection and rotation, there are 12 distinct pentominoes, nicknamed F, I, L, N, P, T, U, V, W, X, Y and Z.
A classical problem in combinatorics is the "tiling problem", which asks whether a given region can be constructed by using each pentomino once, or by using a single pentomino multiple times, or with other restrictions on the components.
The pentominoes are special cases of the general class of "polyominoes", which a formed by connecting any number of unit squares.
The information on this web page is distributed under the MIT license.
pentominoes is available in a MATLAB version and an Octave version and a Python version.