Four Dimensions in the Ulam Spiral: The 16-Cell and Fifteen Types of Diagonals
We prove that the Ulam spiral, seen through the primes 2, 3 and 5, is organised by a four-dimensional object. The eight residues modulo 30 that are prime to 30 form four pairs \( r \), 30-\( r \). Taken as four perpendicular axes, the pairs make the residues the vertices of the 16-cell, the four-dimensional analogue of the octahedron, and the 16-cell is the Cayley graph of \( U \)(30). Colouring each cell by its vertex maps the spiral onto the 16-cell. Our main theorem classifies the diagonals in this picture. Every odd diagonal \( 4k^2+bk+c \) belongs, up to a shift of \( k \), to exactly one of fifteen types, fixed by its discriminant \( \Delta=b^2-16c \) modulo 15. In twelve types the colours of the diagonal are the vertices of a face of the 16-cell: an edge, a triangle or a tetrahedral cell. In one type they form a great square, in two all vertices except one edge. Every 15 consecutive cells contain exactly \( N=(2-(\frac{\Delta}{3}))(4-(\frac{\Delta}{5})) \) coloured cells, and \( N \)/4 is the contribution of 2, 3 and 5 to the Hardy–Littlewood constant. The brightest diagonals, among them Euler's line, are therefore exactly the two types that miss one edge. The classification is finer than the constant: \( N \) takes nine values, and two types share \( N \) exactly when a half-turn of the 16-cell maps one onto the other. The constant sees the orbit, the spiral sees the face. We also prove that the stage \( p_m\# \) is exact inside the central square of side \( p_{m+1} \), and that it repeats in tiles of side \( p_m\# \). The polynomials of the lines and their local factors are classical; the classification and its link to the 16-cell are new. All proofs are elementary.
Authors
- Thomas W. Krause (ORCID: https://orcid.org/0009-0004-3867-9941)
Publication Details
- Journal
- Preprints.org
- Published
- 2026-12-02
- DOI
- https://doi.org/10.20944/preprints202612.0281.v1
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint