Two geometric facts about 63, but how to connect them?
63 is a centered octahedral number. That means if you build an approximation of an octahedron with cubes, one size of octahedron will have 63 cubes.
In the late 1700’s René Just Haüy developed a theory about how crystals formed: successive layers of fundamental primitives in orderly arrangements. One of those arrangements was stacking cubes together to make an octahedron.
Start with one cube:
Add six more cubes around it, one on each face. Now we have seven:
Add another layer, adding a cube to touch each visible cube, making 25:
One more layer and we have a total of 63:
The remaining numbers in the sequence less than 10,000 are 129, 231, 377, 575, 833, 1159, 1561, 2047, 2625, 3303, 4089, 4991, 6017, 7175, 8473, 9919.
63 also shows up in the Delannoy numbers: the number of ways to traverse a grid from the lower left corner to upper right using only steps north, east, or northeast. Here are the 63 ways of moving on a 3×3 grid:
(Diagram from Wikipedia)
In fact, the number of cubes in a Haüy octahedron with N layers is the same as the number of Delannoy steps on a 3×N grid!
Since the two ideas are both geometric and fairly simple, I would love to find a geometric explanation for the correspondence. The octahedron is three-dimensional, and the Delannoy grids have that tantalizing 3 in them. It seems like there should be a way to convert Haüy coordinates to Delannoy coordinates to show how they relate. But I haven’t found one...
• • •
Colophon: I made the octahedron diagrams by asking Claude to write a Python program to do it. It wasn’t a fast process because it took pushing and prodding to get the diagrams to come out the way I liked. But Claude was very competent, and I could think about the results rather than about projections or color spaces. I could dip into it for 10 minutes at a time over a number of days without having to somehow reconstruct a mental context.
This kind of casual hobby programming is perfect for AI assistance. I don’t need the code to be perfect or even good, I just want the diagrams to be nice. I don’t have the focus time to learn how to write the program, so I can leave it to an imperfect assistant.
Comments
There is indeed a geometric mapping. I’ll try to explain it as compact as possible. Spoilers ahead :-)
Let’s call the individual cube’s coordinates (x,y,z). It is |x|+|y|+|z|<=N. i.e. the Manhattan distance of each cube to 0 is at most N.
The Delannoy grid maps out the “Manhattan” steps to take from 0 to achieve at the cube. Each horizontal “level” of the grid maps to one coordinate axis x, y, z. Once the 4th level is reached, the way is already fully defined, since we only can move E-E-E.. from there on. Thus we just ignore level 4.
Starting from 0, we can take any number of E steps, but eventually we have to move north using either N or D. The number of E steps corresponds to the coordinate value, and the kind of upward step (N or D) corresponds to the sign.
Immediately going N maps to 0; then EN = 1, EEN = 2, EEEN = 3; negative numbers: D = -1, ED = -2, EED=-3.
Due to the grid’s size constraint, the sum of the eastward distances in all 3 layers can be at most N, which maps 1:1 to the distance condition stated for the octahedron.
As you can infer, the relation even holds if going to lower-or higher-dimensional space.
Thanks for the interesting puzzle 😉
Thinking further, the symmetry of the Delannay graphs w.r.t. exchange of North and East direction implies that for the Haüy octahedron, the space dimension and number of shells N are also interchangeable.
E.g. the octaeder with two layers (D=3, N=2) has as many cubes as there are squares in the 3-layer “diamond” (D=2, N=3), namely 25. As with all mathematics, I have no idea to what end this fact might be useful. ;-)
Beautiful!
I love seeing weird integers and mathematical properties like this, and especially discovering new sequences.
The Python code works fine. 63? What would Nikola Tesla say about this? He believed the digits 3, 6, and 9 were mystical, but also pervasive.
Add a comment: