Geometry · mathematics · symbolic interpretation

One cube.
Many perspectives.

Magic Cube 64 is a three-dimensional construction with 64 positions: twelve magic square sections, a stella octangula hidden among its vertices, and a connection between the balance of the parts and the unity of the whole.

64Positions · 4 × 4 × 4
12Magic planes
72 / 76Lines summing to 64
2Regular tetrahedra
00 / Conceptual foundations

Before the cube: meanings, relations and balance.

Why study relationships before geometry? In IA_m, “cold” and “hot” acquire meaning by contrast along a shared semantic axis. “Lukewarm” may express a context-dependent equilibrium, whereas “temperature” is an integrating measurable category. We can then represent relations geometrically and examine a separate, reproducible construction: Cubo64.

The conceptual investigation

Explore duality, semantic coherence, synthesis, comparison between states, time and perception. An interactive semantic diffraction lab explains why a high numerical score alone does not establish an appropriate equilibrium.

Explore the two-pole balance lab

The mathematical construction

Cubo64 uses GF(4) to generate 64 positions and verify twelve magic planes, 72 of 76 lines, symmetries and two inscribed regular tetrahedra. The foundations guide connects these studies without presenting one as a proof of the other.

From concepts to the cube

01 / Interactive exploration

One structure, six ways to view it.

Rotate the model with your mouse or finger. Switch modes to discover the relationships revealed by viewing the same structure from different perspectives.

Your browser cannot display the 3D model; the equations and tables remain available below.
Drag to rotate · tap a cell
Tap a cell to inspect its coordinates and value.
The cube has six outer faces and six inner magic sections. Separating the octants reveals some of its internal relationships.
Number setOdd numbers from 1 to 31
Magic constant64
ConstructionGF(4) · three axes
02 / The idea

From the surface to the interior.

This cube is not made by assembling six unrelated magic squares. A single rule based on three coordinates generates every value, so all the sections share the same underlying structure.

4 × 4 × 4

Space

64 positions arranged along three axes. Each position receives a value calculated from its coordinates.

12 planes

Balance

Every fixed-coordinate section contains each of the 16 odd numbers from 1 to 31 exactly once. Its rows, columns and two main diagonals sum to 64.

72 lines

The limit

Of the 76 straight lines considered, 72 sum to 64. The four space diagonals do not; therefore this is not presented as a perfect magic cube.

03 / Step-by-step guide

From 64 positions to a star of tetrahedra.

Open each step to see how the cube is built. Use the buttons to display the corresponding view in the interactive 3D model.

1A grid of 64 positions

We begin with three coordinates x, y, z, each taking one of four values: 0, 1, 2 or 3. There are therefore 4 × 4 × 4 = 64 positions. We do not place numbers manually: a single function assigns a value to every position.

x, y, z ∈ {0,1,2,3} → 4³ = 64 positions
2One rule to calculate every value

We use the finite field GF(4). In our 0–3 encoding, addition is XOR. Multiplication by 2 or 3, however, uses the field's multiplication tables, not ordinary integer multiplication. Two intermediate values, u and v, generate the seed G = 4u + v between 0 and 15. The transformation F = 2G + 1 represents the same structure using the 16 odd integers from 1 to 31.

u = x XOR (2·y) XOR (3·z) v = x XOR (3·y) XOR (2·z) G(x,y,z) = 4u + v F(x,y,z) = 2G + 1 Example: (3,0,0) → G=15 → F=31

The 16 odd values from 1 to 31 each appear four times in the cube. The formula and its tests are explained below.

3Twelve magic planes

Fix one coordinate, for example x = 0, to obtain a 4 × 4 matrix. There are four planes for each of the three axes: 3 × 4 = 12, comprising six outer and six inner planes.

Every plane contains each of the 16 odd numbers from 1 to 31 exactly once; their total is 256. Its rows, columns and both main diagonals each sum to 64. The diagonal property follows from the function and must be verified; dividing the total alone does not prove it.

1 + 3 + ... + 31 = 256 256 ÷ 4 = 64
472 lines work, four do not

We verify 48 axial lines (parallel to the three axes) and 24 planar diagonals (two in each of the twelve planes): all 72 sum to 64. The four space diagonals joining opposite corners have different sums.

48 + 24 = 72 lines summing to 64 Space diagonals: 4, 52, 76 and 124

This gives 72 of the 76 lines considered. It is not a perfect magic cube under a definition that requires all four space diagonals to sum to 64.

5The hexagram along the main diagonal

Viewed along the direction (1,1,1), six cube vertices project into two triangles. Each triangle contains 31, 13 y 19, with a total of 63. The four positions (t,t,t) have value 1. They coincide in this projection but remain four distinct positions within the cube.

31 + 13 + 19 = 63 F(0,0,0) = F(1,1,1) = F(2,2,2) = F(3,3,3) = 1
6Two regular tetrahedra, each with a vertex sum of 64

Each triangle totalling 63 is completed by the vertex of value 1 at the opposite corner: A adds (3,3,3), while B adds (0,0,0). The result is two inscribed regular tetrahedra, each with six edges of length 3√2 and a shared centroid at (1.5, 1.5, 1.5).

31 + 13 + 19 + 1 = 64 Each edge = 3√2 Shared centroid = (1.5, 1.5, 1.5)

The total 64 comes from four vertices; it is not an additional magic line.

7The core repeats eight values

We compare the eight outer corners (coordinates in {0,3}) with eight inner core positions (coordinates in {1,2}). The substitution 0 → 1 and 3 → 2 along each axis preserves all eight values. Algebraically, this is equivalent to adding 1 by XOR to all three coordinates: F(x ⊕ 1, y ⊕ 1, z ⊕ 1) = F(x,y,z).

This is an exact structural correspondence between eight values. It does not prove the existence of another complete magic cube or an infinite fractal.

8A symbolic reading, distinct from the mathematics

The two triangles can suggest complementarity; their common centroid, balance; and the sum 63 + 1 = 64, a relationship between the parts and the whole. These are philosophical interpretations, not proofs about consciousness or the physical world.

The mathematical construction can be checked from its formula and audit. The symbolic reading is an optional perspective.

04 / Mathematical foundations

One rule generates the whole cube.

Each coordinate is an element of the four-element finite field GF(4). In the binary encoding used here, field addition is XOR.

x, y, z ∈ {0, 1, 2, 3} u = x ⊕ (2·y) ⊕ (3·z) v = x ⊕ (3·y) ⊕ (2·z) G(x,y,z) = 4u + v F(x,y,z) = 2G(x,y,z) + 1

The products 2·y and 3·y refer to multiplication in GF(4), not ordinary integer multiplication.

Why use odd numbers?

The seed G ranges from 0 to 15 and sums to 30 on each magic line. Choosing F = 2G + 1 transforms a line of four terms into 2 × 30 + 4 = 64. Each plane contains all 16 odd numbers, whose total is 256.

2 × 30 + 4 = 64

The constant 64 is chosen through an affine transformation. It is neither the only possible constant nor a value forced by GF(4) alone.

Algebraic proof: why the line sums are constant

1. The twelve planes. The map (x,y,z) → (u,v) is linear over GF(4). Fixing one coordinate leaves two independent columns in the matrix A: all three 2 × 2 determinants are 1 in GF(4). Thus each plane contains each of the sixteen (u,v) pairs exactly once, and hence all sixteen values of G.

A = [1 2 3] [1 3 2] det(Axy) = det(Axz) = det(Ayz) = 1 (GF(4))

2. The 72 lines. Along every axial line and each diagonal of a coordinate plane, u and v each run through 0, 1, 2 and 3 exactly once, and their ordinary integer sums are 6. Therefore sum G = 4 × 6 + 6 = 30 and sum F = 2 × 30 + 4 = 64. For reversed diagonals, 3 − t = t ⊕ 3 in this encoding.

3. Diagonal translation symmetry. Because 1 ⊕ 2 ⊕ 3 = 0 in GF(4), adding the same element t by XOR to all three coordinates leaves u and v unchanged. This explains the four ones along the main diagonal, the central symmetry and the eight outer/core corner correspondences. It is not an ordinary spatial translation.

F(x ⊕ t, y ⊕ t, z ⊕ t) = F(x,y,z) for every t ∈ {0,1,2,3}

4. The eight octants. Within each 2 × 2 × 2 block, varying the three least significant bits causes both u and v to take each of the values 0–3 twice. Each sums to 12: sum G = 4 × 12 + 12 = 60, and sum F = 2 × 60 + 8 = 128.

8 octants × 128 = 1024 = total sum of F

5. Scope. This is not a normal order-4 magic cube, which would use the integers from 1 to 64 once each and have a magic constant of 130, nor is it a perfect magic cube: the four space diagonals do not sum to 64. The stella octangula is a classical geometric figure; its numerical relationship with F is what we study here.

View the six outer faces and six inner sections

Select a number in a matrix to locate the corresponding position in the 3D model.

Inner sections correspond to X, Y and Z = 1 or 2; these are not six independent geometric cuts.

Reproducible mathematical checks

The four space diagonals sum to 4, 52, 76 and 124 rather than 64. The symmetries and tetrahedra are checked as well.

05 / Emergent geometry

Two triangles, two tetrahedra, one star.

Viewed along the cube's main diagonal, six corners form a hexagram. In three dimensions, those corners and the two remaining vertices form two complementary regular tetrahedra, known together as the stella octangula.

31 + 13 + 19 + 1 = 64

Triangle A

(3,0,0) → 31
(0,3,0) → 13
(0,0,3) → 19

The opposite vertex (3,3,3) has value 1 and completes tetrahedron A.

Triangle B

(0,3,3) → 31
(3,0,3) → 13
(3,3,0) → 19

The opposite vertex (0,0,0) has value 1 and completes tetrahedron B.

Exact property: all six edges of each tetrahedron have length 3√2; the vertex values of each tetrahedron sum to 64; and both share the centroid (1.5, 1.5, 1.5). The geometric centre is not one of the 64 numbered positions. The relation 63 + 1 = 64 is a sum over vertices, not an extra magic line. The stella octangula is a classical figure; here the G seed sums to 30 at those same four vertices (15 + 6 + 9 + 0), and F = 2G + 1 makes the sum 64.
06 / Symbolic reading

The part and the whole.

The symbolic reading connects duality, complementarity, balance and synthesis to the cube, the opposing triangles and their common centre. It is presented as a philosophical interpretation of the geometry, not as a scientific demonstration about consciousness.

Nature

Outer cube

The structure containing all positions and their relationships: eight corners and their three-dimensional connections.

Mind

Inner core

The eight vertices of the inner 2 × 2 × 2 grid repeat exactly the values of the eight outer corners.

Consciousness

Stella octangula

Two complementary triangles forming two regular tetrahedra. The interpretation in terms of balance and synthesis is philosophical.

The 1 and the centre: four consecutive positions along the diagonal (t,t,t) have value 1. From that direction they overlap at the centre of the hexagram. The Body, considered here as an intermediate symbolic layer, is not yet represented by an equivalent third mathematical cube.
07 / Inner structure

Eight values repeated at another scale.

Outer vertices with coordinates in {0,3}³ correspond exactly to inner vertices with coordinates in {1,2}³, replacing 0 → 1 and 3 → 2 on each axis. This is a correspondence of eight numbers, not a complete second grid of 64 positions.

08 / Scope of the project

What is proved, and what remains a proposal.

The numerical and geometric construction is reproducible. The interactive model lets us explore mathematical properties and geometric or symbolic interpretations without claiming unproved results.

Verified

The G seed and its transformation F, twelve magic planes summing to 64, 72 magic lines, the four exceptional space diagonals, GF(4) diagonal-translation invariance, eight octants summing to 128, two regular tetrahedra, and the eight outer/core vertex correspondences.

In development

Modular visualization of the eight octants, different views of the inner sections and self-similar extensions of the seed. A finite construction does not automatically constitute an infinite geometric fractal.

Related fractal research

Besides the sum-64 construction, we considered the continuous family Fλ = 16 + λ(F − 16). When λ = 16/15, Fλ = (32/15)G, where G = (F − 1)/2 is the seed with values 0–15 and magic line sum 30. G is zero at the four positions of the main diagonal. If we define a self-similar construction by subdividing each block into a 4 × 4 × 4 grid and retaining only the 60 non-zero blocks at each level, the limit set has dimension log₄(60). This is a separate mathematical branch; the main construction has no required gaps.

Related projects and background

IA_m (duality and graphs), Emergent Triad (balance, Hadamard and discrete symmetries) and Q-Reality-12D (binary constraints). These conceptual connections should not be mistaken for a proved mathematical equivalence between projects.