Jump to content

Wikipedia:Reference desk/Archives/Mathematics/2023 November 27

From Wikipedia, the free encyclopedia
Mathematics desk
< November 26 << Oct | November | Dec >> Current desk >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


November 27

[edit]

No overlap cubes.

[edit]

Is the following true for all N? For a clear NxNxN cube, it is possible to fill N^2 cubes so that exactly one filled cube exists in each combination of X,Y coordinates, exactly one filled cube in each combination of X,Z coordinates and exactly one filled cube in each Y,Z combination?Naraht (talk) 15:13, 27 November 2023 (UTC)[reply]

Suppose that the coordinates of the cubes are for ranging from to . If we consider only cubes of the form , then we can see that each combination of two coordinates only happens once. For coordinates this is trivial. For coordinates we have that equals if and only if , and similarly for coordinates, equals if and only if . GalacticShoe (talk) 16:01, 27 November 2023 (UTC)[reply]
An isomorphic but symmetric solution is to take the set of vertices of the cube with coordinates such that  --Lambiam 22:23, 27 November 2023 (UTC)[reply]
So basically diagonally cutting layers of filled cubes.Naraht (talk) 23:31, 27 November 2023 (UTC)[reply]
If I understand correctly, this is equivalent to finding a Latin square of order N. (See the "Orthogonal array representation" section.) The general problem can be stated "Can a m-hypercube with side N be filled in with Nn hypercubes (with side 1), so that for any combination of m-n coordinates, and any combination of m-n values from 1 to N, there is exactly one filled in cube in the "hyperslice" determined by setting these coordinates to the given values. For n=2, m=1 this is equivalent to finding a permutation on {1, ... , N}. For m=3, n=2 this is the Latin square problem. For m=4, n=2 this is the problem of finding Mutually orthogonal Latin squares. These problems do no always have solutions, notably the m=4, n=2 case does not have a solution for N=2 or N=6. --RDBury (talk) 22:36, 27 November 2023 (UTC)[reply]
Ah, so if the latin square value is also from 1..n, then setting the height off the page (z-axis) to that is equivalent to my problem. Similarly Mutually orthogonal would be height in the z-axis and in the w-axis.Naraht (talk) 23:31, 27 November 2023 (UTC)[reply]
For the symmetric solution I gave for generalizes to
 --Lambiam 08:59, 28 November 2023 (UTC)[reply]