cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-9 of 9 results.

A049430 Triangle read by rows: T(n,d) is the number of distinct properly d-dimensional polyominoes (or polycubes) with n cells (n >= 1, d >= 0).

Original entry on oeis.org

1, 0, 1, 0, 1, 1, 0, 1, 4, 2, 0, 1, 11, 11, 3, 0, 1, 34, 77, 35, 6, 0, 1, 107, 499, 412, 104, 11, 0, 1, 368, 3442, 4888, 2009, 319, 23, 0, 1, 1284, 24128, 57122, 36585, 8869, 951, 47, 0, 1, 4654, 173428, 667959, 647680, 231574, 36988, 2862, 106, 0, 1, 17072, 1262464, 7799183, 11173880, 5712765, 1297366, 146578, 8516, 235
Offset: 1

Views

Author

Richard C. Schroeppel

Keywords

Examples

			Triangle begins:
1
0 1
0 1     1
0 1     4       2
0 1    11      11       3
0 1    34      77      35        6
0 1   107     499     412      104      11
0 1   368    3442    4888     2009     319      23
0 1  1284   24128   57122    36585    8869     951     47
0 1  4654  173428  667959   647680  231574   36988   2862  106
0 1 17072 1262464 7799183 11173880 5712765 1297366 146578 8516 235
...
		

Crossrefs

Cf. A049429 (col. d=0 omitted), A195738 (oriented), A195739 (fixed).
Row sums give A005519. Columns give A006765, A006766, A006767, A006768.
Diagonals (with algorithms) are A000055, A036364, A355053.
Cf. A330891 (cumulative sums of the rows).

Extensions

Edited by N. J. A. Sloane, Sep 23 2011
More terms from John Niss Hansen, Mar 31 2015

A049429 Triangle T(n,d) = number of distinct d-dimensional polyominoes (or polycubes) with n cells (0 < d < n).

Original entry on oeis.org

1, 1, 1, 1, 4, 2, 1, 11, 11, 3, 1, 34, 77, 35, 6, 1, 107, 499, 412, 104, 11, 1, 368, 3442, 4888, 2009, 319, 23, 1, 1284, 24128, 57122, 36585, 8869, 951, 47, 1, 4654, 173428, 667959, 647680, 231574, 36988, 2862, 106, 1, 17072, 1262464, 7799183, 11173880, 5712765, 1297366, 146578, 8516, 235
Offset: 2

Views

Author

Richard C. Schroeppel

Keywords

Comments

These are unoriented polyominoes of the regular tilings with Schläfli symbols {oo}, {4,4}, {4,3,4}, {4,3,3,4}, etc. Each tile is a regular orthotope (hypercube). For unoriented polyominoes, chiral pairs are counted as one. The dimension of the convex hull of the cell centers determines the dimension d. - Robert A. Russell, Aug 09 2022

Examples

			From _Robert A. Russell_, Aug 09 2022: (Start)
Triangle begins with T(2,1):
n\d 1     2       3       4        5       6       7      8    9  10
2   1
3   1     1
4   1     4       2
5   1    11      11       3
6   1    34      77      35        6
7   1   107     499     412      104      11
8   1   368    3442    4888     2009     319      23
9   1  1284   24128   57122    36585    8869     951     47
10  1  4654  173428  667959   647680  231574   36988   2862  106
11  1 17072 1262464 7799183 11173880 5712765 1297366 146578 8516 235
(End)
		

References

  • Dan Hoey, Bill Gosper and Richard C. Schroeppel, Discussions in Math-Fun Mailing list, circa Jul 13 1999.

Crossrefs

Cf. A049430 (col. d=0 added), A195738 (oriented), A195739 (fixed).
Diagonals (with algorithms) are A000055, A036364, A355053.
Row sums give A005519. Columns are A006765-A006768.

Extensions

Two more rows added by Robert A. Russell, Aug 09 2022.

A365565 Number of free n-polysticks (or polyedges) in arbitrary dimension.

Original entry on oeis.org

1, 2, 7, 31, 205, 1779
Offset: 1

Views

Author

Pontus von Brömssen, Sep 09 2023

Keywords

Crossrefs

Row sums of A365566.
Cf. A005519, A019988 (2 dimensions), A365559 (3 dimensions), A365561 (4 dimensions), A365563 (5 dimensions).

A330891 Triangle read by rows: cumulative sums of the rows of A049430.

Original entry on oeis.org

1, 0, 1, 0, 1, 2, 0, 1, 5, 7, 0, 1, 12, 23, 26, 0, 1, 35, 112, 147, 153, 0, 1, 108, 607, 1019, 1123, 1134, 0, 1, 369, 3811, 8699, 10708, 11027, 11050, 0, 1, 1285, 25413, 82535, 119120, 127989, 128940, 128987, 0, 1, 4655, 178083, 846042, 1493722, 1725296
Offset: 1

Views

Author

Peter Kagey, Apr 30 2020

Keywords

Comments

T(n,k) is also the number of n-celled polyominoes made up of k-dimensional cubes, counted up to rotation, reflection, and translation.

Examples

			Table begins:
n/k| 0 1    2     3     4      5      6      7      8
---+-------------------------------------------------
  1| 1
  2| 0 1
  3| 0 1    2
  4| 0 1    5     7
  5| 0 1   12    23    26
  6| 0 1   35   112   147    153
  7| 0 1  108   607  1019   1123   1134
  8| 0 1  369  3811  8699  10708  11027  11050
  9| 0 1 1285 25413 82535 119120 127989 128940 128987
		

Crossrefs

Columns 2-4: A000105, A038119, A068870.
Main diagonal is A005519.

Formula

T(n,k) = Sum_{i=0..k} A049430(n,i).

A387005 Number of free (d,2)-polyominoids of size n in arbitrary dimension d.

Original entry on oeis.org

1, 2, 12, 103
Offset: 1

Views

Author

Pontus von Brömssen, Aug 14 2025

Keywords

Crossrefs

Main diagonal of A387003.
Row sums of A387004.
Cf. A005519 (polyominoes), A365565 (polysticks).
Cf. A000105 (2 dimensions), A075679 (3 dimensions), A366334 (4 dimensions).

A049540 Number of n-ominoes for a high-dimensional orthoplex.

Original entry on oeis.org

1, 1, 1, 3, 5, 17, 55, 267, 1467, 10371
Offset: 1

Views

Author

Keywords

Comments

An orthoplex polyomino does not extend more than two units along any axis.

Examples

			There are a(5)=5 orthoplex pentominoes: the two 3-D pentominoes that fit in a 2 X 2 X 2 box and the three 4-D pentominoes.
		

Crossrefs

A005519 counts a superset.

A365142 List of free polyominoes in arbitrary dimension given by an integer code (see comments), ordered first by the number of cells, then by the value of the code.

Original entry on oeis.org

1, 3, 7, 11, 15, 23, 39, 43, 46, 51, 139, 31, 47, 55, 59, 87, 115, 143, 171, 174, 271, 302, 555, 558, 565, 775, 806, 2063, 2075, 2341, 2342, 2348, 2598, 2610, 24583, 32907, 133158, 63, 95, 119, 123, 159, 175, 187, 287, 303, 399, 430, 559, 567, 574, 615, 619
Offset: 1

Views

Author

Pontus von Brömssen, Aug 25 2023

Keywords

Comments

The code used here is similar to the binary code defined in A365139, but it is based on an ordering of all sequences of nonnegative integers with a finite number of nonzero terms. The ordering is defined by assigning the ordinal number (Product_{i>=1} prime(i)^x_i) - 1 to the sequence (x_1, x_2, ...). Given a polyomino in any dimension (represented as a finite set of sequences of nonnegative integers with a finite number of nonzero terms, each representing a cell of the polyomino), consider all the ways of rotating/reflecting it. Translate each such rotation/reflection so that the minimum coordinate is 0 in each dimension, and add the powers of 2 with exponents equal to the ordinal numbers of the cells of the translation. The code of the polyomino is the minimum of those sums. The minimum will occur for a transformation for which the largest index of a nonzero coordinate is as small as possible, so only a finite number of transformations need to be considered.
Can be read as an irregular triangle, whose n-th row contains A005519(n) terms. The first term of the n-th row is 2^n-1. For n <= 4, the last term of the n-th row corresponds to the straight n-omino (with code Sum_{j=0..n-1} 2^(2^j-1)), but the last term of the 5th row (133158) corresponds to the x-pentomino, and the last term of the 6th row (576460752840441890) corresponds to the hexacube composed of two straight tricubes orthogonally attached to each other at their middle cubes.

Examples

			For the pentacube consisting of 4 monocubes arranged in a square, and one monocube on top of one of them, the (translated) orientation that minimizes the code occupies the points (0,0,0), (1,0,0), (0,1,0), (0,0,1), and (1,1,0) (with all coordinates after the third equal to 0). The ordinal numbers of these points are 1-1 = 0, 2^1-1 = 1, 3^1-1 = 2, 5^1-1 = 4, and 2^1*3^1-1 = 5, so the code is 2^0+2^1+2^2+2^4+2^5 = 55 = a(14).
As an irregular triangle:
  1;
  3;
  7, 11;
  15, 23, 39, 43, 46, 51, 139;
  ...
		

Crossrefs

A365143 Proper dimension of the polyomino with code A365142(n).

Original entry on oeis.org

0, 1, 2, 1, 2, 3, 2, 2, 2, 3, 1, 3, 2, 3, 3, 4, 4, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 2, 3, 2, 2, 2, 3, 3, 4, 1, 2, 3, 4, 4, 4, 3, 2, 3, 3, 2, 2, 2, 3, 3, 3, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 5, 5, 3, 2, 3, 3, 4, 4, 4, 2, 3, 2, 2, 2, 2, 2, 2, 2, 3, 2, 3, 3, 3
Offset: 1

Views

Author

Pontus von Brömssen, Aug 25 2023

Keywords

Comments

Can be read as an irregular triangle, whose n-th row contains A005519(n) terms. The first term of the n-th row is A000720(n). The number of times d occurs in the n-th row is A049430(n,d).

Examples

			As an irregular triangle:
  0;
  1;
  2, 1;
  2, 3, 2, 2, 2, 3, 1;
  3, 2, 3, 3, 4, 4, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 2, 3, 2, 2, 2, 3, 3, 4, 1, 2;
  ...
For the 4th row, the seven 4-cell polyominoes, with codes 15, 23, 39, 43, 46, 51, 139 (4th row of A365142), are the L-tetromino, the properly 3-dimensional nonchiral tetracube, the square tetromino, the T-tetromino, the S-tetromino, the properly 3-dimensional chiral tetracube, and the straight tetromino, with proper dimensions 2, 3, 2, 2, 2, 3, 1, respectively.
		

Crossrefs

Formula

a(n) = max_{1<=i<=m} A061395(e_i+1), where A365142(n) = Sum_{1<=i<=m} 2^e_i and e_1 < ... < e_m != 0 (i.e., (e_1, ..., e_m) is the A365142(n)-th row of A133457).

A100632 Number of Shapes(n, d) for a given number of polyhypercubes / polytopominoes n in a given dimensional space d.

Original entry on oeis.org

1, 1, 1, 1, 2, 2, 1, 7, 8, 7, 1, 18, 29, 27, 26, 1, 60, 166
Offset: 1

Views

Author

Jeffrey C. Jacobs (timehorse(AT)starship.python.net), Dec 03 2004

Keywords

Comments

a(1/2 * n * (n-1) + d) gives values of Shapes(n, d) for n > 0, d > 0, d <= n. For d > n, use a(1/2 * n * (n + 1)) or A005519's a(n).
A polytopomino shape is a shape constructed of n contiguous hypercubes that is invariant over rotation but not necessarily over 'flipping', i.e. mirror images are distinct. See example for details of when flipping is or is not considered.
A000988 gives values for Shape(n, 2), e.g. a(1/2 * n * (n - 1) + 2) and A000162 for Shape(n, 3), e.g. a(1/2 * n * (n - 1) + 3.
A005519 gives values for Shape(n, n), e.g. a(1/2 * n * (n + 1)). These shapes always can be expressed using only n-1 dimensions and therefore contain no mirror-image or "flipped" shapes.
Shape(n, d) is the union of all shapes with n points that can be expressed in a dimension x for x from 1 to d - 1 where "flipped" shapes are excluded plus all shapes with n points that must be expressed by at least d dimensions where "flipped" shapes are included. A049429 gives values for x in [1, d - 1] and n.
Specificly, if b(m) defines the sequence A049429, b(1/2 * n * (n + 1) + x) is the term for all shapes that must be expressed in at least x dimensions and containing n points.
There is no sequence that describes shapes with n points and exactly d dimensions for which "flipped" shapes are considered distinct, so this formula cannot be completely expressed as the sum of other formula.
The main difficulty in computing this sequence is in a) the fast implemention of a set (as in a set of points [shape] and a set of shapes [Shape(n, d)]), especially with respect to rotation of points and b) the difficulty in eliminating duplicate entries.
The later case is difficult because in order to determine whether two shapes are the same, one must compute all possible R in order to determine the R that may orient shape X the same as shape Y. The translation vector T is uniquely given based on R but requires finding the minimum point of the bounding hypercube of each shape that is linear with respect to d.
Ideally, a good algorithm for b must be found, especially if a "definitive orientation" can be determined such that all shapes will be oriented using the definitive orientation before being compared and thus the comparison consists only of comparing the points in X and Y to make sure they are the same.
Also, it should be possible to reduce the loop over Cardinal Vectors since some vectors are equivalent, such as adding (1, 0) or (-1, 0) to the point (0, 0) since the shape has symmetry and therefore both new shapes are equivalent.

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.
		

Crossrefs

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
Showing 1-9 of 9 results.