A100632 Number of Shapes(n, d) for a given number of polyhypercubes / polytopominoes n in a given dimensional space d.
1, 1, 1, 1, 2, 2, 1, 7, 8, 7, 1, 18, 29, 27, 26, 1, 60, 166
Offset: 1
Examples
Example 1: a(9) gives the number of shapes in Shape(4, 3). We describe these 3-dimensional shapes by using 2 rows of text where "O" represents a block in the z=0 plane and "2" two stacked blocks, the first in the z=0 plane, the second in the z=1 plane. Shape(4, 3) consists of OOOO ..0 .0. 00 00. 0. 0. .0 .... 000 000 00 .00 20 02 20 The second shape is considered to be the same as OOO ..O because it can be expressed in 2 dimensions and we are allowed 3 (d = 3) so these two shapes are the same despite being flipped. However the last two shapes require 3 dimensions to express and because that is equal to or greater than d = 3, the flipped shapes are considered distinct. This is equivalent to saying that in 3 dimensions there is no physical way to turn or move the second to last shape to make it look like the last. Example 2: a(8) gives the number of shapes in Shape(4, 2). This is equivalent to the set of 1-sided polyominoes consisting of 4 squares.
Links
- A. Clarke, The Poly Pages
Formula
Let a shape consist of a set of n integral points such that all points are adjacent to at least 1 other point and that all points are connected either directly or indirectly through adjacency.
Let two points be adjacent if and only if the distance between point A and point B is given by a unit vector which lies parallel to one of the Cartesian axes in d dimensional space.
E.g. if d is 2 and n is 2, a shape may consist of the points (0, 0) and (1, 0). The distance between these points would then be the unit vector (1, 0) which lies parallel to the x-axis.
Two shapes, X and Y are considered the same if and only if there exists some rotation unit matrix R and some translation vector T for which the set of points X * R + T is equal to the set of points Y. The unit rotation R must have determinant 1.
A determinant of -1 for R is considered a "flip" and is therefore not allowed. However it should be noted that there will always exist an R[d+1] such that R[d+1] = [[R 0] [0 det(R)]], which always has a determinant of 1.
Thus when considering a higher-order dimension, a flip in a lower dimension is now possible. In other words, Shapes are 1-sided only if they must be represented using at least d dimensions.
The Set of Cardinal Vectors consists of all unit vectors parallel to a Cartesian axis for the given dimension d. Thus when d is 2, the Set of Cardinal Vectors consists of { (1, 0) (0, 1) (-1, 0) (0, -1) }.
We then define Shape(n, d) recursively as follows:
Shape(1, d) consists of the single set containing a single point (0, 0, ..., 0) in d-Space, e.g. Shape(1, d) = { { (0, 0, ..., 0) } } for all d.
Shape(n+1, d) consists of all shapes generated by:
For each shape S in Shape(n, d):
For each point P in S:
For each vector V in the Set of Cardinal Vectors:
If P + V is not in S:
Shape(n+1, d) contains the Shape consisting of the union of S and { (P + V) }
a(1/2 n * (n - 1) + d) = the number of shapes in the set Shape(n, d).
Extensions
Link updated by William Rex Marshall, Dec 16 2009
Comments