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-3 of 3 results.

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

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