| prime order perfect hypercubes | |
|---|---|
| basic ingredients of pandiagonal hypercubes | |
|
Latin hypercube generating formula LH(aj) |
Latin hypercubes obtained by formula |
|
LH(aj): LH[ji] = (j=0∑naj ji) % m ;
j ε [0,..,n-1]; i ε [0,..,m-1]; aj < aj+1; a0 = 1; aj = 2 .. (m - 1)/2 |
|
|
The latin hypercubes obtained by the above formula are in normalized position due to the condition aj < aj+1 (can't be equal because that spoils pandiagonality). a0 = 1 because because of digit changing, thus parameters define the LH's structure the range of aj avoids pan-flip variants introduces by parameter range (m+1)/2 .. m-1. |
|
| pan r-agonal hypercubes | |
| r-agonal pathfinder | Pr = <ji; j = 0..n-1; ji ε {-1,0,1}; j=0∑n-1|ji| = r> |
|
The formula merely captures all r-agonal direction the r-dimensional subhypercube posesses |
|
|
pan r-agonal condition Cr |
Cr : j=0∑n-1 Prj aj relatively prime to m. |
|
since m is prime it means that the sum is no integral multiple of m this condition posed on the latin hypercubes parameter ensures that also on the r-agonal lines all digits are present |
|
|
perfect condition Pn |
Pn : Cr for all r = 1 .. n |
| In order for the hypercube to be perfect all r-agonal conditions must be satisfied | |
| prime order perfect hypercubes | ||||||||
|---|---|---|---|---|---|---|---|---|
| basic ingredients of perfect hypercubes | ||||||||
|
Latin hypercube generating formula LH(aj) factor: Counting argument unknown F |
Latin hypercubes obtained by formula | |||||||
|
LH(aj): LH[ji] = (j=0∑naj ji) % m ;
j ε [0,..,n-1]; i ε [0,..,m-1]; aj < aj+1; a0 = 1; aj = 2 .. (m - 1)/2 (j=0∑naj Pfp[j]) % m != 0; p ε [0,..,3n-1]; Pfp[j] ε {-1,0,1}; |
||||||||
|
The latin hypercubes obtained by the above formula are in normalized position due to the condition aj < aj+1 (can't be equal because that spoils pandiagonality). a0 = 1 because because of digit changing, thus parameters define the LH's structure the range of aj avoids pan-flip variants introduces by parameter range (m+1)/2 .. m-1. |
||||||||
| Unknown counting argument (numbers manually obtained) | ||||||||
| m \ n | 2 | 3 | 4 | 5 | 6 | 7 | ||
|
5 7 11 13 17 19 |
1 2 4 5 7 8 |
0 0 3 6 15 21 |
0 0 0 0 1 3 |
0 0 0 0 0 0 |
0 0 0 0 0 0 |
0 0 0 0 0 0 |
||
|
As with the pandiagonal hypercube the same arguments give numbers of possible {perfect} hypercubes, so we have G = F (F 2(n-1) - 1 n-1) (n-1)! basic {perfect} hypercubes and thus eventually G((m-1)!/2)n {perfect} hypercubes. (stated numbers preliminairy) |
||||||||
| {perfect} hypercubes | ||||||||
|
basic {perfect} hypercubes factor: G = F (F 2(n-1) - 1 n-1) (n-1)! |
the basic {perfect} hypercubes | |||||||
| H(aj,i) = i=0∑n-1 mn-i-1 LH(aj,i) | ||||||||
|
In order to retain the normalized position the highest component (denoted with i=0) need to remain in normalized position, the other component are added in posible panflip and transpositional variants, leaving the x-axis as is there are 2n-1 panflips, resulting in 2n-1 F posibilities of which 1 is already chosen, and n-1 LH's need be randomly selected, this explains the listed factor. The factor of (n-1)! is due to reordering of the lower components |
||||||||
| F (F 2(n-1) - 1 n-1) (n-1)! | ||||||||
| m \ n | 2 | 3 | 4 | 5 | 6 | 7 | ||
|
5 7 11 13 17 19 |
1 6 28 45 91 120 |
0 0 330 3,036 51,330 142,926 |
0 0 0 0 1,632 22,230 |
0 0 0 0 0 0 |
0 0 0 0 0 0 |
0 0 0 0 0 0 |
||
|
{perfect} hypercubes factor: m!nG/(2m)n= G((m-1)!/2)n |
the {perfect} hypercubes | |||||||
| {perfect} | ||||||||
| H(aj,i) = i=0∑n-1 mn-i-1 LH(aj,i)=[perm(i)] | ||||||||
|
Applying independently digits changers to the various components generate all(?) possible pandiagonal hypercubes, which introduces a factor (m!)n (if not mistaken). This however also introduces all panvariants which gives a deviding factor of (2m)n with: 2n (reflection) ; mn (panrelocation) |
||||||||