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 12 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

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

Original entry on oeis.org

0, 0, 2, 3, 8, 11, 19, 23, 35, 40, 55, 62, 80, 88, 110, 119, 144, 155, 183, 195, 227, 240, 275, 290, 328, 344, 386, 403, 448, 467, 515, 535, 587, 608, 663, 686, 744, 768, 830, 855, 920, 947, 1015, 1043, 1115, 1144, 1219, 1250, 1328, 1360, 1442, 1475, 1560
Offset: 1

Views

Author

Janaka Rodrigo, May 06 2025

Keywords

Comments

Alternatively, a(n) is the number of ways to decompose the triplet (n,n,n) into 3 distinct unordered triplets.
Initial stage: One triplet of the form (n,n,n).
Second stage: Decompose the original triplet into two distinct triplets by splitting one of the elements of (x,y,z) into two parts at a time according to the following rule; (x,y,z) is replaced by (x,y,z-r), (x,y,r), where 0 < r <= z/2. Each resulting triplet must be distinct in element composition when comparing with the rest of the triplets in the set. Sets including the same element composition including the case r = z/2 are named as duplicates and set aside to reconsider when forming the next term.
Third stage: Apply the same rule to one of the two triplets of the second term at a time to create another two distinct triplets. At this stage consider the duplicates of the second term and apply the same rule to decompose one of the two identical triplets into two triplets of distinct element composition.

Examples

			(1,1,1) and (2,2,2) cannot be decomposed in three distinct triplets giving first two terms; a(1) = a(2) = 0.
(3,3,3) can be decomposed into two triplets (3,3,2), (3,3,1) by applying the rule and repeat the process for one the triplets at a time for obtaining the following two sets:
   {(3,3,2), (3,2,1), (3,1,1)},
   {(3,3,1), (3,2,2), (3,2,1)}.
Therefore, a(3) = 2.
		

Crossrefs

Formula

G.f.: x^3*(2+3*x+4*x^2+3*x^3+2*x^4)/((1+x+x^2)*(1+x)^2*(1-x)^3). - Jinyuan Wang, Aug 03 2025

Extensions

More terms from Sean A. Irvine, May 11 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.

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).

A384511 a(n) is the number of ways to partition n X n X n cube into five distinct cuboids with three full-length axial spanning parts sharing only two cube corners each.

Original entry on oeis.org

0, 0, 1, 3, 10, 18, 35, 53, 84, 116, 165, 215, 286, 358, 455, 553, 680, 808, 969, 1131, 1330, 1530, 1771, 2013, 2300, 2588, 2925, 3263, 3654, 4046, 4495, 4945, 5456, 5968, 6545, 7123, 7770, 8418, 9139, 9861, 10660, 11460, 12341, 13223, 14190
Offset: 1

Views

Author

Janaka Rodrigo, May 31 2025

Keywords

Comments

Alternatively a(n) is the number of distinct sets of five unordered triplets of distinct element composition generated by (x,n,z), (n,y,n-z), (n-x,n-y,n), (n-x,y,z), (x,n-y,n-z), where 0 < x,y,z < n.
Three elements in a triplet representing the three dimensions of a cuboid and exactly three of the five cuboids span through the entire length n along one axis, connecting opposite faces of the cube while sharing only two of their corners with the cube.

Examples

			Triplet (3,3,3) can be decomposed by the rule in only one way:
  {(1,3,1), (3,1,2), (2,2,3), (2,1,1), (1,2,2)}.
Therefore, a(3) = 1.
Triplet (4,4,4) can be decomposed by the rule in only three different ways:
  {(1,4,1), (4,1,3), (3,3,4), (3,1,1), (1,3,3)},
  {(1,4,2), (4,2,2), (3,2,4), (3,2,2), (1,2,2)},
  {(1,4,3), (4,2,1), (3,2,4), (3,2,3), (1,2,1)}.
Therefore, a(4) = 3.
		

Crossrefs

Cf. A384479.

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

A385154 a(n) is the least possible difference between the largest and smallest volumes of distinct five-cuboid combinations filling an n X n X n cube.

Original entry on oeis.org

10, 12, 21, 28, 28, 62, 42, 80, 57, 112, 114, 143, 90, 156, 191, 288, 184, 224, 252, 396, 299, 288, 315, 504, 414, 546, 462, 720, 529, 816, 616, 837, 609, 648, 777, 1140, 858, 1260, 874, 1596, 1237, 1155, 810, 1554, 1468, 2064, 1118, 1950, 1343, 2080, 1590, 2268
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 five cuboids of different dimensions.
Let elements of the unordered integer triplet (x,y,z) be the dimensions of a cuboid in a set of five cuboids and volume V(x,y,z) = x*y*z; cuboids have five values for each set of five triplets S, produced by the union of A(n), B(n), C(n), where A(n), B(n), and C(n) are sequences of sets as introduced in A384479.
Define min(S) = min{V(x,y,z):(x,y,z) in S} and max(S) = max{V(x,y,z):(x,y,z) in S}, then defect(S) = max(S) - min(S).
a(n) is the smallest possible value of defect(S) where S runs over all possible ways of partitioning the n X n X n cube into five cuboids of different dimensions.

Examples

			4 X 4 X 4 cube has 31 different ways of partitioning into five distinct cuboids and only two sets producing the minimum defects as calculated below:
{(3,2,1), (3,3,2), (4,1,2), (4,2,2),(4,4,1)} has minimum defect = max(6,18,8,16,16) - min(6,18,8,16,16) = 18 - 6 = 12.
{(4,4,1), (4,3,1), (2,3,3), (2,3,2), (2,3,1)} has minimum defect = max(16,12,18,12,6) - min(16,12,18,12,6) = 18 - 6 = 12.
Therefore a(4) = 12.
		

Crossrefs

Extensions

a(11)-a(20) from Sean A. Irvine, Jul 26 2025
a(21)-a(54) from Jinyuan Wang, Aug 04 2025

A386847 a(n) is the number of sets of distinct five-cuboid combinations that fill an n X n X n cube excluding combinations that contain strict cuboids.

Original entry on oeis.org

0, 0, 1, 3, 10, 19, 30, 44, 64, 84, 100, 141, 150, 202, 218, 279, 282, 382, 365, 478, 470, 603, 568, 749, 690, 897, 840, 1066, 980, 1279, 1151, 1473, 1357, 1716, 1552, 1988, 1785, 2265, 2062, 2573, 2327, 2947, 2640, 3296, 3006, 3718, 3361, 4182, 3774, 4659, 4251
Offset: 1

Views

Author

Janaka Rodrigo, Aug 05 2025

Keywords

Comments

A strict cuboid is a cuboid with all three dimensions different to each other.
Alternatively a(n) is number of ways to decompose (n,n,n) triplet into sets of distinct unordered geometrically feasible five triplets of the form (x,y,z) excluding x != y != z in any of the triplets.

Examples

			(4,4,4) triplet can be decomposed into sets of five triplets in 31 different ways and only the following three sets do not contain strict cuboids:
  {(1,1,1), (1,1,2), (1,1,4), (1,3,3), (3,4,4)},
  {(1,1,1), (1,1,2), (1,3,3), (1,4,4), (3,3,4)},
  {(1,1,3), (1,1,4), (1,3,3), (1,4,4), (2,4,4)}.
		

Crossrefs

Cf. A384479.

Extensions

a(16)-a(39) from Sean A. Irvine, Aug 06 2025
More terms from Jinyuan Wang, Aug 10 2025

A386757 a(n) is the number of sets of noncongruent five-cuboid combinations that fill an n X n X n cube excluding combinations that contain cube-shaped cuboids.

Original entry on oeis.org

0, 0, 1, 21, 179, 513, 1471, 2736, 5713, 8881, 15478, 21961, 34355, 45696, 66768, 84922, 117621, 145313, 193283, 232787, 300764, 355093, 447181, 520412, 641801, 736900, 894222, 1015173, 1213646, 1366103, 1612366, 1799756, 2102572, 2329955, 2695421, 2970037, 3406356
Offset: 1

Views

Author

Janaka Rodrigo, Aug 01 2025

Keywords

Comments

Alternatively a(n) is the number of ways to decompose (n,n,n) triplet into sets of distinct five unordered triplets of the form (x,y,z) without having x = y = z in any of the triplets.

Examples

			There are 31 sets of distinct unordered five-cuboid combinations filling 4 X 4 X 4 cube including 10 combinations containing cube-shaped cuboids which are listed below,
   {(1,1,1), (1,1,2), (1,1,4), (1,3,3), (3,4,4)},
   {(1,1,1), (1,1,2), (1,3,3), (1,4,4), (3,3,4)},
   {(1,1,1), (1,1,3), (1,1,4), (1,2,4), (3,4,4)},
   {(1,1,1), (1,1,3), (1,1,4), (2,3,4), (2,4,4)},
   {(1,1,1), (1,1,3), (1,2,4), (1,4,4), (3,3,4)},
   {(1,1,1), (1,1,3), (1,3,4), (1,4,4), (2,4,4)},
   {(1,1,3), (1,2,3), (1,3,4), (1,4,4), (3,3,3)},
   {(1,1,4), (1,2,4), (1,3,3), (1,4,4), (3,3,3)},
   {(1,2,2), (1,2,4), (2,2,2), (2,2,3), (2,4,4)},
   {(1,2,2), (1,4,4), (2,2,2), (2,2,3), (2,3,4)}.
Therefore a(4) = 31 - 10 = 21.
		

Crossrefs

Extensions

a(14)-a(16) from Sean A. Irvine, Aug 03 2025
a(17)-a(37) from Jinyuan Wang, Aug 04 2025
Showing 1-10 of 12 results. Next