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

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

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

A385580 a(n) is the number of ways to partition an n X n X n cube with four noncongruent cuboids of different volumes.

Original entry on oeis.org

0, 0, 4, 11, 47, 77, 183, 259, 457, 599, 941, 1120, 1668, 1986, 2637, 3125, 4079, 4622, 5868, 6530, 8061, 9028, 10874, 11856, 14148, 15522, 18074, 19583, 22739, 24292, 28065, 30105, 34071, 36544, 40885, 43520, 48888, 51912, 57512, 60666, 67331, 70777, 78078
Offset: 1

Views

Author

Janaka Rodrigo, Aug 12 2025

Keywords

Comments

Alternatively, a(n) is the number of ways to decompose (n,n,n) triplet into geometrically feasible four distinct unordered triplets of the form (x,y,z) with no pairs of triplets having equal value for the product x*y*z.

Examples

			There are A384311(4) = 12 different ways to decompose a 4 X 4 X 4 cube into four noncongruent cuboids, but of those 12 ways, one partition {(4,2,1), (4,2,2), (4,3,2), (4,4,1)} contains two cuboids of volume 16 ((4,2,2) and (4,4,1)) which needs to be excluded. Therefore a(4) = 12-1 = 11.
		

Crossrefs

Cf. A384311.

Formula

Conjecture: a(p) = A384311(p) for any prime p.

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

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

Original entry on oeis.org

5, 16, 16, 36, 30, 60, 48, 100, 83, 96, 123, 182, 130, 264, 182, 324, 224, 280, 259, 484, 369, 576, 449, 676, 423, 560, 528, 900, 598, 1008, 638, 1054, 859, 864, 979, 1330, 884, 1620, 1054, 1764, 1152, 1364, 1185, 2116, 1553, 2304, 1713, 2500, 1513, 1924, 1760
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 minimum defect when an n X n X n cube is partitioning into four cuboids of different dimensions.
Let elements of the unordered integer triplet (x,y,z) be the dimensions of a cuboid in a set S of four cuboids.
Let V(x,y,z) = x*y*z be the volume and for a given element of S. Define 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 smallest value of the defect(S) across all possible partitions of the n X n X n cuboid into four cuboids of different dimensions.

Examples

			The 4 X 4 X 4 cube has 12 different ways of partitioning into four distinct cuboids each giving a defect as the difference between the largest volume and the smallest volume relevant to the four cuboids of the set.
The optimal solution is given by the set {(4,2,1), (4,2,2), (4,3,2), (4,4,1)} because it has the minimum defect.
The least possible defect = max(8,16,24,16)-min(8,16,24,16) = 24-8 = 16.
Therefore, a(4) = 16.
		

Crossrefs

Extensions

More terms from Sean A. Irvine, Jul 16 2025

A386756 a(n) is the number of sets of distinct four-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, 2, 10, 43, 81, 177, 260, 458, 605, 931, 1169, 1656, 1995, 2687, 3145, 4063, 4674, 5850, 6617, 8102, 9044, 10852, 12008, 14172, 15540, 18116, 19714, 22711, 24585, 28035, 30176, 34142, 36569, 41053, 43817, 48852, 51939, 57593, 61021, 67291, 71118, 78036, 82241, 89882
Offset: 1

Views

Author

Janaka Rodrigo, Aug 01 2025

Keywords

Comments

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

Examples

			There are 12 sets of distinct four-cuboid combinations filling 4 X 4 X 4 cube according to A384311(4), only two combinations containing cubes listed below,
   {(1,1,1), (1,1,3), (1,3,4), (3,4,4)},
   {(1,3,3), (3,3,3), (1,3,4), (1,4,4)}.
Therefore, a(4) = 12-2 = 10.
		

Crossrefs

Cf. A384311.

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

Original entry on oeis.org

0, 0, 2, 3, 4, 6, 6, 9, 8, 13, 11, 17, 15, 23, 20, 30, 27, 39, 36, 50, 47, 64, 61, 80, 78, 100, 98, 123, 122, 150, 150, 181, 182, 217, 219, 257, 261, 303, 308, 354, 361, 411, 420, 474, 485, 544, 557, 620, 636, 704, 722, 795, 816, 894, 918, 1001, 1028, 1117
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 four triplets of the form (x,y,z) excluding x != y != z in any of the triplets.

Examples

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

Crossrefs

Cf. A384311.

Extensions

More terms from Sean A. Irvine, Aug 06 2025
Showing 1-10 of 12 results. Next