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-10 of 11 results. Next

A384311 a(n) is the number of ways to partition an n X n X n cube into 4 noncongruent cuboids.

Original entry on oeis.org

0, 0, 4, 12, 47, 85, 183, 266, 466, 613, 941, 1179, 1668, 2007, 2701, 3159, 4079, 4690, 5868, 6635, 8122, 9064, 10874, 12030, 14196, 15564, 18142, 19740, 22739, 24613, 28065, 30206, 34174, 36601, 41087, 43851, 48888, 51975, 57631, 61059, 67331, 71158, 78078
Offset: 1

Views

Author

Janaka Rodrigo, May 25 2025

Keywords

Comments

Alternatively, a(n) is the number of ways to decompose the triplet (n,n,n) into 4 distinct unordered triplets.
Start with initial triplet (n,n,n). At each step choose a triplet from the current set and apply the rule (x,y,z) -> (x,y,z-r) and (x,y,r) for 0 < r <= z/2 (or similarly on x or y), checking to ensure the new triplets are distinct within the set.
If two duplicates (triplets with same element composition) appear, mark one for further decomposition in the next step.
Continue until reaching a set of exactly four triplets, all with distinct element composition, and with total volume (sum of the products of elements in each triplet) = n^3.

Examples

			The triplets (1,1,1) and (2,2,2) cannot be decomposed into 4 distinct triplets giving first two terms a(1) = a(2) = 0.
According to the rule there is only one way to decompose the triplet (3,3,3) into two distinct triplets, those are (3,3,1) and (3,3,2) and by applying the rule to each of the triplets at a time gives two sets of triplets {(3,3,2), (3,2,1), (3,1,1)} and {(3,3,1), (3,2,2), (3,1,1)}. Finally by repeating the process for each of the triplets of the stage three at a time gives the following sets of four distinct triplets:
   {(3,3,2), (3,2,1), (2,1,1), (1,1,1)};
   {(3,3,2), (3,1,1), (2,2,1), (2,1,1)};
   {(3,3,1), (3,2,2), (2,2,1), (2,1,1)};
   {(3,3,1), (3,2,1), (2,2,2), (2,2,1)}.
Therefore, a(3)=4.
		

Crossrefs

A384479 a(n) is the number of ways to partition n X n X n cube into 5 noncongruent cuboids.

Original entry on oeis.org

0, 0, 2, 31, 209, 560, 1561, 2852, 5894, 9093, 15778, 22304, 34805, 46194, 67399, 85610, 118461, 146218, 194363, 233941, 302115, 356523, 448831, 522153, 643781, 738976, 896563, 1017619, 1216376, 1368946, 1615516, 1803028, 2106173, 2333683, 2699501, 2974256, 3410946
Offset: 1

Views

Author

Janaka Rodrigo, May 30 2025

Keywords

Comments

Partitioning n X n X n cube is done by decomposing the triplet (n,n,n) into five unordered integer triplets of distinct element composition in three different stages and applying the inclusion-exclusion principle to obtain all geometrically feasible triplets without repetitions.
First stage:
Generating the sequence of sets A(n) of five triplets of distinct element composition by decomposing the triplet (n,n,n).
The number of sets in each term describes the number of ways a cube can be partitioned into five cuboids by cutting one of the cuboids in the previous stage into two cuboids. The algorithm explained in A381847 (partitioning into three cuboids) and A384311 (partitioning into four cuboids). As an example: A(3) = {{(3,3,1), (3,2,2), (3,1,1), (2,1,1), (1,1,1)}, {(3,2,2), (3,2,1), (2,2,1), (3,1,1), (2,1,1)}}.
Therefore the number of sets in A(3) is |A(3)| = 2.
Second stage:
Generating the sequence of sets B(n) of five triplets of distinct element composition by decomposing the triplet (n,n,n).
The number of sets in each term represents number of distinct five-cuboid combinations filling the n X n X n cube with three full-length axial spanning sharing only two cube corners each.
Sets of five distinct triplets of the n-th term are defined by {(n,n-x,y), (n,n-y,z), (n,n-z,x), (x,y,z), (n-x,n-y,n-z)}, where 0 < x,y,z < n.
The triplet (3,3,3) can be decomposed by the rule only in one way giving, B(3) = {{(1,3,1), (3,1,2), (2,2,3), (2,1,1), (1,2,2)}}. Therefore |B(3)| = 1.
Third stage:
Generating the sequence of sets C(n) of five triplets of distinct element composition by decomposing the triplet (n,n,n).
The number of sets in each term represents number of different ways to partition n X n X n cube into five distinct cuboids such that all five cuboids going across the cube parallel to each other avoiding any cut-plane that cuts through the whole pile.
Sets of five distinct triplets of the n-th term are defined by {(n,x,y), (n,p,y+q), (n,n-p,q), (n,n-p-x,n-q), (n,p+x,n-y-q)}, where p+x < n,q+y < n and 0 < x,y,p,q < n.
Triplets (1,1,1), (2,2,2) and (3,3,3) cannot be decomposed by this rule and the triplet (4,4,4) has only one way of decomposing, C(4) = {{(1,1,4), (1,2,4), (1,3,4), (2,2,4), (2,3,4)}}. Therefore |C(4)| = 1.
Since there are no intersections between B(n) and C(n), the number of ways to partition n X n X n cube is given by: a(n) = |A(n) union B(n) union C(n)| = |A(n)| + |B(n)| + |C(n)| - |A(n) intersection B(n)| - |A(n) intersection C(n)|.

Examples

			a(1) = a(2) = 0, since the cubes 1 X 1 X 1 and 2 X 2 X 2 can never be partitioned into five cuboids.
a(3) = |A(3)| + |B(3)| + |C(3)| - |A(3) intersection B(3)| - |A(3) intersection C(3)|= 2 + 1 + 0 - 1 - 0 = 2.
a(4) = |A(4)| + |B(4)| + |C(4)| - |A(4) intersection B(4)| - |A(4) intersection C(4)|= 30 + 3 + 1 - 2 - 1 = 31.
		

Crossrefs

Extensions

a(11)-a(16) from Sean A. Irvine, Jul 26 2025
More terms from Jinyuan Wang, Aug 03 2025

A386296 Array read by descending antidiagonals: T(n,k) is the number of ways to partition n X n X n cube into k noncongruent cuboids.

Original entry on oeis.org

1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 2, 1, 1, 0, 0, 4, 3, 2, 1, 0, 0, 2, 12, 8, 2, 1, 0, 0, 1, 31, 47, 11, 3, 1, 0, 0, 0, 70, 209, 85, 19, 3, 1, 0, 0, 0, 115, 846, 560, 183, 23, 4, 1, 0, 0, 0, 97, 3131, 3508, 1561, 266, 35, 4, 1, 0, 0, 0, 40, 9533, 21699, 12960
Offset: 1

Views

Author

Janaka Rodrigo, Jul 17 2025

Keywords

Comments

The partitions here must be valid packings of the n X n X n cube, hence T(n,k) is generally less than the number of partitions of n^3 into distinct cuboids (x,y,z) with 1 <= x,y,z <= n and volume x*y*z.

Examples

			Array begins:
  1      0      0      0      0
  1      0      0      0      0
  1      1      2      4      2
  1      1      3     12     31
  1      2      8     47    209
  1      2     11     85    560
  1      3     19    183   1561
  1      3     23    266   2852
  1      4     35    466   5894
  1      4     40    613   9093
		

Crossrefs

Cf. A333296 (index of maximum nonzero term on each row).
Columns: A004526 (k=2), A381847 (k=3), A384311 (k=4), A384479 (k=5).

Formula

T(n,1) = 1.
T(n,k) = 0 for k > n^3.

A384208 a(n) is the number of ways to partition a square n X n into five rectangles of different dimensions, without any straight cut spanning the entire square.

Original entry on oeis.org

0, 0, 0, 1, 4, 15, 39, 88, 162, 283, 450, 691, 1005, 1425, 1954, 2626, 3444, 4452, 5652, 7094, 8775, 10755, 13035, 15676, 18679, 22053, 25819, 29967, 34543, 39531, 44976, 50878, 57231, 64026, 71296, 79026, 87243, 95920, 105036, 114590, 124672, 135206, 146231, 157684, 169642, 182051, 194927, 208298, 222125, 236484
Offset: 1

Views

Author

Janaka Rodrigo, May 22 2025

Keywords

Comments

Alternatively a(n) is the total number of distinct sets of five unordered integer duplets with distinct element composition of the form: (x,y), (p,y+q), (n-p,q), (n-p-x,n-q), (p+x,n-y-q) where elements of a duplet represent the lengths of the two sides of a rectangle, p+x < n, q+y < n and 0 < x,y,p,q < n.

Examples

			When n = 5,the duplet (5,5) can be decomposed in the following four different ways:
  {(1,1), (1,2), (1,4), (2,3), (3,4)},
  {(1,1), (1,3), (2,2), (2,4), (3,3)},
  {(1,2), (1,3), (1,4), (2,2), (3,4)},
  {(1,3), (1,4), (2,2), (2,3), (2,4)}.
In each case a rectangle is surrounded by four rectangles of different dimensions. Each of the four surrounding rectangles shares part of one its sides with a side of the central rectangle (x,y) and extends to the boundary of the square in that direction.
		

Crossrefs

Cf. A381847.

A385247 a(n) is the number of ways to partition n X n X n cube into 6 noncongruent cuboids.

Original entry on oeis.org

0, 0, 1, 70, 846, 3508, 12960, 30064, 74164, 134745, 266396
Offset: 1

Views

Author

Sean A. Irvine and Janaka Rodrigo, Jul 28 2025

Keywords

Comments

A386296 is the main sequence for this topic.
Alternatively a(n) is the number of distinct six-cuboid combinations filling an n X n X n cube.

Examples

			Let the elements x,y and z of the unordered triplet (x,y,z) be the dimensions of a cuboid of the set of distinct six-cuboid combinations. One of the sets of six distinct unordered triplets of a(4) representing a six-cuboid combinations filling 4 X 4 X 4 cube is,
{(3,4,4),(1,2,3),(1,2,2),(1,1,3),(1,1,2),(1,1,1)}.
		

Crossrefs

Column 6 of A386296.
Cf. A381847 (3 cuboids), A384311 (4 cuboids), A384479 (5 cuboids).

A384737 a(n) is the number of distinct five-cuboid combinations filling an n X n X n cube only with at least one cut spanning through the full cube.

Original entry on oeis.org

0, 0, 1, 27, 195, 527, 1487, 2711, 5648, 8694, 15163, 21398, 33514, 44411, 64990, 82431, 114337, 140958, 187742, 225716, 292010, 344238, 434025, 504464, 622802, 714278, 867664, 984013, 1177505, 1324222, 1564296, 1744637, 2039877, 2258715, 2615027, 2879412, 3304797
Offset: 1

Views

Author

Janaka Rodrigo, Jun 08 2025

Keywords

Comments

Alternatively a(n) is the number of distinct five-triplet sets produced by A(n)-D(n); that is, a(n) = |A(n)-D(n)|, where the sequences of sets A(n), B(n) and C(n) are introduced in A384479 and D(n) = B(n) U C(n).

Examples

			A(3) = {{(1,1,2), (1,1,3), (1,2,2), (1,2,3), (2,2,3)}, {(1,1,1), (1,1,2), (1,1,3), (1,3,3), (2,2,3)}}.
B(3) = {{(1,1,2), (1,1,3), (1,2,2), (1,2,3), (2,2,3)}}.
C(3) = {}.
D(3) = B(3) U C(3) = {{(1,1,2), (1,1,3), (1,2,2), (1,2,3), (2,2,3)}}.
A(3)-D(3) = {{(1,1,1), (1,1,2), (1,1,3), (1,3,3), (2,2,3)}}.
Therefore, a(3) = 1.
		

Crossrefs

Extensions

a(11)-a(37) from Jinyuan Wang, Aug 04 2025

A384743 a(n) is the number of distinct five-cuboid combinations filling n X n X n cube without allowing a cut spanning through the full cube in any of filling positions.

Original entry on oeis.org

0, 0, 0, 1, 6, 20, 50, 110, 197, 343, 535, 814, 1171, 1651, 2240, 2996, 3900, 5019, 6333, 7918, 9744, 11905, 14366, 17225, 20451, 24146, 28274, 32955, 38143, 43967, 50380, 57520, 65335, 73976, 83386, 93720, 104925, 117165, 130377, 144743, 160190, 176909, 194831
Offset: 1

Views

Author

Janaka Rodrigo, Jun 08 2025

Keywords

Comments

Alternatively a(n) is the number of distinct five-triplet sets of the terms produced by D(n)-A(n); that is, a(n) = |D(n)-A(n)|, where A(n), B(n) and C(n) are introduced in A384479 and D(n) = B(n) U C(n).

Examples

			A(3) = {{(1,1,2), (1,1,3), (1,2,2), (1,2,3), (2,2,3)}, {(1,1,1), (1,1,2), (1,1,3), (1,3,3), (2,2,3)}}.
B(3) = {{(1,1,2), (1,1,3), (1,2,2), (1,2,3), (2,2,3)}}.
C(3) = {}.
D(3) = B(3) U C(3) = {{(1,1,2), (1,1,3), (1,2,2), (1,2,3), (2,2,3)}}.
D(3)-A(3) = {}.
Therefore, a(3) = 0.
		

Crossrefs

Extensions

a(11)-a(43) from Jinyuan Wang, Aug 04 2025

A385151 a(n) is the least possible difference between the largest and smallest volumes of distinct three-cuboid combination filling an n X n X n cube.

Original entry on oeis.org

6, 24, 20, 48, 42, 80, 54, 140, 99, 192, 143, 252, 150, 352, 238, 432, 304, 520, 294, 660, 437, 768, 525, 884, 486, 1064, 696, 1200, 806, 1344, 726, 1564, 1015, 1728, 1147, 1900, 1014, 2160, 1394, 2352, 1548, 2552, 1350, 2852, 1833, 3072, 2009, 3300, 1734
Offset: 3

Views

Author

Janaka Rodrigo, Jun 19 2025

Keywords

Comments

Developed as the three dimensional extension of the Mondrian Art Problem.
Alternatively, a(n) is the optimal solution when an n X n X n cube is partitioning into 3 cuboids of different dimensions.
Let elements of the unordered integer triplet (x,y,z) be the dimensions of cuboid in a set of three cuboids.
Let V(x,y,z) = x*y*z be the volume and for a given set of triplets S, Min(S) = min{V(x,y,z):(x,y,z) in S}, Max(S) = max{V(x,y,z):(x,y,z) in S}, and defect(S) = Max(S)-Min(S).
a(n) is the least possible value of the defect as S runs over the possible partitions of the n X n X n cuboid into 3 cuboids of different dimensions.

Examples

			4 X 4 X 4 cube can be partitioned in three different ways and defects of sets are calculated as follows:
{(4,3,3), (4,3,1), (4,4,1)}: defect = max(36,12,16)-min(36,12,16) = 36-12=24,
{(4,2,1), (4,3,2), (4,4,2)}: defect = max(8,24,32)-min(8,24,32) = 32-8=24,
{(4,4,3), (4,3,1), (4,1,1)}: defect = max(48,12,4)-min(48,12,4) = 48-4=44.
Therefore, a(4) = min{24, 24, 44} = 24.
		

Crossrefs

A386779 Array read by descending antidiagonals: T(n,k) is the number of ways to partition an n X n X n cube into k noncongruent cuboids excluding cube-shaped parts.

Original entry on oeis.org

0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 2, 1, 0, 0, 0, 2, 3, 2, 0, 0, 0, 1, 10, 8, 2, 0, 0, 0, 0, 21, 43, 11, 3, 0, 0, 0, 0, 37, 179, 81, 19, 3, 0, 0, 0, 0, 38, 644, 513, 177, 23, 4, 0, 0, 0, 0, 15, 2068, 3024, 1471, 260, 35, 4, 0, 0, 0, 0, 4, 4995, 17489, 11776, 2736, 458, 40, 5
Offset: 1

Views

Author

Janaka Rodrigo, Aug 02 2025

Keywords

Comments

The partition here must be valid packing of the n X n X n cube, hence T(n,k) is generally less than the number of partitions of n^3 into distinct cuboids (x,y,z) with 1 <= x,y,z <= n and volume x*y*z excluding x=y=z.

Examples

			Array begins
  0    0    0    0     0
  0    0    0    0     0
  0    1    2    2     1
  0    1    3   10    21
  0    2    8   43   179
  0    2   11   81   513
  0    3   19  177  1471
  0    3   23  260  2736
  0    4   35  458  5713
  0    4   40  605  8881
		

Crossrefs

Cf. columns: A004526 (k=2), A381847 (k=3), A386756 (k=4), A386757 (k=5).

Formula

T(n,1) = 0
T(n,k) = 0 for k > n^3
T(n,k) = A381847(n) for k = 3.

Extensions

More terms from Sean A. Irvine, Aug 03 2025

A385240 Array read by descending antidiagonals: T(n,k) is the number of k element sets of noncongruent integer sided rectangles that fill an n X n square.

Original entry on oeis.org

1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 2, 1, 1, 0, 0, 0, 3, 2, 1, 0, 0, 0, 3, 8, 2, 1, 0, 0, 0, 2, 15, 11, 3, 1, 0, 0, 0, 0, 19, 35, 19, 3, 1, 0, 0, 0, 0, 7, 87, 75, 23, 4, 1, 0, 0, 0, 0, 1, 114, 257, 119, 35, 4, 1, 0, 0, 0, 0, 0, 56, 593, 571, 210, 40, 5, 1, 0
Offset: 1

Views

Author

Janaka Rodrigo, Aug 26 2025

Keywords

Examples

			Array begins:
  1     0     0     0     0
  1     0     0     0     0
  1     1     2     0     0
  1     1     3     3     2
  1     2     8    15    19
  1     2    11    35    87
  1     3    19    75   257
  1     3    23   119   571
  1     4    35   210  1186
  1     4    40   289  2033
		

Crossrefs

Columns: A000012 (k=1), A004526 (k=2), A381847 (k=3), A387171 (k=4), A387241 (k=5).
Cf. A386296 (3-dimensional version).

Formula

T(n,1) = 1.
T(n,k) = 0 for k > n^2.

Extensions

More terms from Sean A. Irvine, Sep 02 2025
Showing 1-10 of 11 results. Next