% PREAMBLE \documentclass[11pt]{amsart} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{microtype} \usepackage{amsmath,amssymb} \usepackage{mathtools} \usepackage{graphicx} \usepackage{booktabs} \usepackage{tikz} \usepackage[colorlinks=true,linkcolor=bluedark,citecolor=bluedark,urlcolor=bluedark]{hyperref} \usepackage[capitalize]{cleveref} % COLORS \definecolor{black}{HTML}{000000} \definecolor{white}{HTML}{FFFFFF} \definecolor{red}{HTML}{FF3D40} \definecolor{redlight}{HTML}{FF9D95} \definecolor{reddark}{HTML}{A80016} \definecolor{orange}{HTML}{FF8F2C} \definecolor{orangelight}{HTML}{FFC093} \definecolor{orangedark}{HTML}{A25400} \definecolor{yellow}{HTML}{FFD100} \definecolor{yellowlight}{HTML}{FFE591} \definecolor{yellowdark}{HTML}{9E8100} \definecolor{green}{HTML}{32CC58} \definecolor{greenlight}{HTML}{5EEE79} \definecolor{greendark}{HTML}{007F2C} \definecolor{mint}{HTML}{00D1BB} \definecolor{mintlight}{HTML}{48EFD8} \definecolor{mintdark}{HTML}{008173} \definecolor{teal}{HTML}{00CAD8} \definecolor{teallight}{HTML}{48E9F7} \definecolor{tealdark}{HTML}{007C85} \definecolor{cyan}{HTML}{1EC9F3} \definecolor{cyanlight}{HTML}{86E2FF} \definecolor{cyandark}{HTML}{007C98} \definecolor{blue}{HTML}{008CFF} \definecolor{bluelight}{HTML}{84BDFF} \definecolor{bluedark}{HTML}{00559F} \definecolor{indigo}{HTML}{6768FA} \definecolor{indigolight}{HTML}{9EA9FF} \definecolor{indigodark}{HTML}{3C2ABC} \definecolor{purple}{HTML}{D332E9} \definecolor{purplelight}{HTML}{F08AFF} \definecolor{purpledark}{HTML}{870097} \definecolor{pink}{HTML}{FF325A} \definecolor{pinklight}{HTML}{FF9A9F} \definecolor{pinkdark}{HTML}{A50030} \definecolor{brown}{HTML}{B18462} \definecolor{brownlight}{HTML}{DFAF8C} \definecolor{browndark}{HTML}{754C2B} \definecolor{gray}{HTML}{8E8E93} \definecolor{graylight}{HTML}{BABABF} \definecolor{graydark}{HTML}{56565A} % COLORS END \newtheorem{theorem}{Theorem}[section] \newtheorem{proposition}[theorem]{Proposition} \newtheorem{lemma}[theorem]{Lemma} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{conjecture}[theorem]{Conjecture} \theoremstyle{definition} \newtheorem{definition}[theorem]{Definition} \newtheorem{fact}[theorem]{Fact} \theoremstyle{remark} \newtheorem{remark}[theorem]{Remark} \title[Base-3 Digit Designs]{Base-3 Digit Designs: Diagonality, Ray Masses, and a Spectral Gap at Two} \author{Carlo Mitchener} \address{MrlyProd, Inc.} \email{carlo.mitchener@gmail.com} \date{First published 2026-08-23, revised 2026-09-08} % PAPER \begin{document} \begin{abstract} Draw a picture by writing numbers in base three and allowing only three of the nine possible digit pairs at each position; then ask which straight lines through the origin hit the picture, and how often. This paper answers three such questions for two families of base-three digit designs in the plane. First, a permutation design $F_\phi=\{(j,\phi(j))\}$ is \emph{diagonal}, meaning no two distinct points of any level share a ray through the origin, exactly when $\phi(0)\neq 0$; this holds for four of the six permutations of $\{0,1,2\}$, at every level, and is proved here. Second, for the Sierpi\'nski gasket design $G=\{(0,0),(1,0),(0,1)\}$ the number of points on a fixed ray obeys an exact linear recurrence at every level: Fibonacci on $(3,1)$, Narayana's cows on $(1,12)$, and $c(m)=c(m-1)+c(m-4)$ on $(7,3)$, each the characteristic polynomial of a live carry automaton with at most four states; on the shift ray $(3^j,1)$ the mass is a product of $j$ Fibonacci numbers, because the admissible multipliers are the binary strings with no two ones at distance $j$. That product bound is sharp enough to settle the whole shift family: the shift rays contribute $\bigl((13+5\sqrt5)/11+o(1)\bigr)\varphi^{2n}$ to the second moment $\sum_{(a,b)}M_n(a,b)^2$, never more than $2.803\,\varphi^{2n}$, so the dominant carrier of that moment grows like $\varphi^{2n}=2.618\ldots^{\,n}$ and not like $3^n$. Third, for a coprime pair $(s,t)$ the growth rate of $\{z: z, sz, tz \in G_n\}$ is the spectral radius of an explicit carry automaton, trimmed to the states that can return to where they started, and over all $829$ coprime unordered pairs with $\max(s,t)\le 52$ that radius equals $3$ on the three shift pairs, equals $2$ on exactly twenty pairs, and never lands in the open interval $(2,3)$; for the variant automaton that drops the requirement that $z$ itself lie in the gasket, the first three of those statements hold verbatim and the ceiling below $2$ rises to $1.8488475886$. Fourth, that variant automaton is a constrained tensor square of a single-coordinate carry automaton, and the collinear pair count is reorganised by the \emph{witness} of a pair rather than by its multipliers: every witness has weight at least four, which pins the largest multiplier at level $n$ to $\lfloor 3^n/8\rfloor$; every multiplier pair above $(3^n-1)/10$ carries exactly four collinear pairs; the weight layers scale exactly by three; and the weight-four layer is closed in Fibonacci, contributing less than $1.6945\,\varphi^{2n}$, the same golden law as the shift family. Fifth, the golden ceiling $M_n(z)\le F(n+1)-1$ on ray mass, which says the shift ray $(1,3)$ is the heaviest ray of the gasket at every level, is proved rather than enumerated on a box of $13158$ directions and at every level: a ray automaton has out-degree at most two with its branch states in one residue class modulo three, which forces a Fibonacci recursion whenever no branch state has two branching successors, and that settles all but twelve directions of the box, three shift rays closed by a Fibonacci product identity and nine by explicit rational certificates. Sixth, that whole case analysis collapses into one criterion: weighting the first returns of a ray automaton by $\varphi^{-1}$ per step gives a single number $U(a,b)$ in $\mathbf{Q}(\sqrt5)$, and $U(a,b)\le\varphi^{-2}$ implies the ceiling for that direction at every level. It holds on $858$ of the $865$ occupied directions of the box and of six adversarial families, the seven exceptions being exactly the shift rays, where $U=\varphi^{-1}$ and the Fibonacci product argument applies instead. Seventh, that criterion is proved outright on an infinite arithmetic family: with $q=3^{\,k}q_1$ the coordinate divisible by three and $p$ the other, mass forces $q_1\equiv p$ modulo three, and $k=1$ with $v_3(q_1-p)\le 2$ gives $U\le\varphi^{-2}$. A stdlib-only script that ships with the paper recomputes every number reported here, with one flagged exception: the second moment at levels $15$, $16$ and $17$ runs the identical direction-grouping pass on a machine-integer array sort, because $3^{17}$ points do not fit the script's time budget. \end{abstract} % TITLE PAGE \makeatletter \global\let\titledate\@date \global\let\paperabstract\@setabstracta \global\let\@date\@empty \global\let\@setabstract\relax \makeatother \maketitle \begin{center} \normalfont\footnotesize MrlyProd, Inc.\\ \titledate \end{center} \vspace*{\stretch{1}} \begin{center} \includegraphics[width=0.8\textwidth]{figures/avatar-light.png} \end{center} \vspace*{\stretch{1.25}} \newpage \paperabstract % BODY \section{Introduction} \label{sec:intro} \begin{figure}[!h] \centering \begin{tikzpicture}[scale=0.115] \begin{scope} \draw[gray!40] (0,0) rectangle (26,26); \draw[red!65!black, thick] (0,0) -- (26,8.667); \foreach \a/\b in {0/0,0/1,0/3,0/4,0/9,0/10,0/12,0/13,1/0,1/3,1/9,1/12,3/0,3/9,3/10,4/0,4/9,9/0,9/1,9/4,10/0,10/3,12/0,12/1,13/0} \fill[black!72] (\a,\b) circle (0.55); \foreach \a/\b in {3/1,9/3} {\fill[red!65!black] (\a,\b) circle (0.7); \draw[red!65!black] (\a,\b) circle (1.7);} \node[below] at (13,-2.4) {\small the gasket $G_3$: the ray $(3,1)$ holds $2$ points}; \end{scope} \begin{scope}[xshift=44cm] \draw[gray!40] (0,0) rectangle (26,26); \foreach \a/\b in {0/13,1/12,2/14,3/10,4/9,5/11,6/16,7/15,8/17,9/4,10/3,11/5,12/1,13/0,14/2,15/7,16/6,17/8,18/22,19/21,20/23,21/19,22/18,23/20,24/25,25/24,26/26} \draw[blue!55!black, opacity=0.35, line width=0.14mm] (0,0) -- (\a,\b); \foreach \a/\b in {0/13,1/12,2/14,3/10,4/9,5/11,6/16,7/15,8/17,9/4,10/3,11/5,12/1,13/0,14/2,15/7,16/6,17/8,18/22,19/21,20/23,21/19,22/18,23/20,24/25,25/24,26/26} \fill[blue!55!black] (\a,\b) circle (0.6); \node[below] at (13,-2.4) {\small the design $F_\phi$, $\phi=(1,0,2)$: $27$ points, $27$ rays}; \end{scope} \end{tikzpicture} \caption{Two base-3 digit designs at level $3$. On the left the gasket piles many points onto a few lines. On the right a diagonal design spreads every point onto a line of its own.} \label{fig:rays} \end{figure} Write a nonnegative integer in base three. Now write two at once, stacked, so that position $i$ carries a pair of digits $(d^x_i, d^y_i)$ from the nine possibilities $\{0,1,2\}^2$. Choose three of those nine pairs and forbid the other six. The points you can still write form a self-similar cloud in the plane, and different choices of three give visibly different clouds. The question this paper asks is the simplest one available: which lines through the origin pass through the cloud, and how many of its points does each line catch? Two very different answers appear, depending on the design. On the right of \cref{fig:rays} is a \emph{diagonal} design: no two of its $27$ points share a line through the origin, so the cloud meets $27$ distinct rays. This is not an accident of level three. \Cref{thm:diagonal} says that among the six designs of the form $F_\phi=\{(0,\phi(0)),(1,\phi(1)),(2,\phi(2))\}$, where $\phi$ permutes $\{0,1,2\}$, exactly four are diagonal at every level, and the test is as short as a test can be: $\phi(0)\neq 0$. The proof is elementary and complete. It rests on one observation, that every permutation of $\{0,1,2\}$ is an affine map $x\mapsto \alpha x+\beta$ over the field of three elements, and that after a cancellation the entire question collapses to whether $\beta=\phi(0)$ is zero. On the left is the opposite extreme, the base-3 Sierpi\'nski gasket $G=\{(0,0),(1,0),(0,1)\}$. Here the points crowd onto lines, and the counting becomes interesting. Call $M_n(a,b)$ the number of nonzero level-$n$ gasket points on the ray through a primitive $(a,b)$. Then $M_n(3,1)$ runs $0$, $1$, $2$, $4$, $7$, $12$, $20$, $33$, one less than a Fibonacci number each time, and $M_n(1,12)$ runs $0$, $0$, $1$, $2$, $3$, $5$, $8$, $12$, $18$, one less than Narayana's cows \cite{oeisA000930}. These are exact identities at every level, not fits. The mechanism is not deep, and we say so plainly in \cref{sec:results}: an admissible digit string on a fixed ray is a word in a small carry automaton, and for these rays the automaton is a run-length constraint, so the counting sequences are the classical composition counts. What is new is the dictionary, not the arithmetic behind it. The shift rays $(3^j,1)$ are the reason to care. Their masses are products of $j$ Fibonacci numbers, and \cref{thm:shift} turns that into a bound on the whole family at once: the second moment $\sum_{(a,b)}M_n(a,b)^2$ receives $\bigl((13+5\sqrt5)/11+o(1)\bigr)\varphi^{2n}$ from the shift rays and never more than $2.803\,\varphi^{2n}$. Since $\varphi^2=2.618\ldots$ is below $3$, the heaviest rays in the gasket are not heavy enough to make that moment grow like $3^{n}\cdot 3^{n}$, or even like $3^{n}\cdot\varphi^{n}$. \Cref{fact:second} measures what is left over. The third question is about growth rather than counting. Fix coprime $(s,t)$ and ask how many gasket points $z$ have $sz$ and $tz$ also in the gasket. That set is again read by a carry automaton, and its growth rate is the spectral radius $\lambda(s,t)$ of the automaton once it is trimmed to the states that can get back to where they started (\cref{prop:growth}; the trimming is not optional, see \cref{rem:trim}). The answer has a hole in it. Over all $829$ coprime unordered pairs with $\max(s,t)\le 52$, the radius is $3$ on the three shift pairs $(1,3)$, $(1,9)$, $(1,27)$, is exactly $2$ on twenty further pairs, and otherwise sits at $1.6956\ldots$ or below. Nothing lands strictly between $2$ and $3$. The automaton is standard equipment; the hole is not. The paper is short and self-contained. \Cref{sec:defs} fixes the objects. \Cref{sec:results} states the three laws, with tags: what is proved is labelled Theorem, Proposition, or Lemma and proved in \cref{sec:proofs}; what is checked over a stated finite range is labelled Fact, with that range written into the statement; what is believed is labelled Conjecture, with its evidence and the way it could fail. \Cref{sec:repro} names the script that recomputes every number. \subsection*{Relation to existing work} The tool is textbook. A set defined by a digit restriction in base $k$ is $k$-automatic, and reading it with a finite automaton whose states are carries is the standard method for such sets \cite{allouche}; the growth exponent of the accepted language is the Perron root of the transition matrix \cite{seneta}. The same device computes box dimensions of closed $k$-automatic sets, and base-$3$ multiplication automata are one of its stock examples \cite{kauto}. Nothing in \cref{sec:results} claims the machine as new. What the paper contributes is arithmetic output: an exact classification of the diagonal permutation designs, an exact dictionary between three gasket rays and three classical composition counts, and the observation that these particular automata have no Perron root in $(2,3)$, with an explicit largest value below $2$ and the pairs that attain it. The mass laws deserve the same honesty. Narayana's cows counts compositions of $n$ into parts $1$ and $3$, and the Fibonacci numbers count binary strings with no two adjacent ones; the recurrence $c(m)=c(m-1)+c(m-4)$ counts compositions into parts $1$ and $4$. These are the most classical run-length counts there are. The content of \cref{thm:mass} is that particular gasket rays realise them, not that the sequences are surprising; the same goes for the Fibonacci product on the shift rays, which is the no-two-ones constraint read along $j$ interleaved subsequences. What is not routine is \cref{thm:shift}, where those products are summed against each other across all $j$ at once and the total is pinned to a constant times $\varphi^{2n}$. For the diagonality question we found no prior statement. The nearest literature is on radial projections and visible points of self-similar sets. A finite classification of the six base-$3$ permutation designs by a collinearity test is small enough that it is more likely unrecorded than known and forgotten; we state it, prove it, and make no priority claim. \section{Definitions} \label{sec:defs} Throughout, $\mathbf{F}_3=\{0,1,2\}$ with arithmetic modulo $3$, and $n\ge 1$ is a level. \begin{definition}[Digit design] \label{def:design} A \emph{digit design} is a three-element subset $F\subseteq\{0,1,2\}^2$. Its level-$n$ set is \[ S_n(F)=\Bigl\{\textstyle\sum_{i=0}^{n-1} 3^i\, d_i \;:\; d_0,\dots,d_{n-1}\in F\Bigr\}\subseteq \mathbf{Z}^2 , \] counted with the digit string that produces it, so that $S_n(F)$ carries $3^n$ strings. There are $\binom{9}{3}=84$ digit designs. \end{definition} Two families matter here, and they are different objects. Confusing them is the one trap in this subject. \begin{definition}[The gasket, and the permutation designs] \label{def:two} The \emph{gasket design} is $G=\{(0,0),(1,0),(0,1)\}$, and we write $G_n=S_n(G)$; it is the base-$3$ Sierpi\'nski gasket truncated at level $n$. For a permutation $\phi$ of $\mathbf{F}_3$, the \emph{permutation design} is $F_\phi=\{(0,\phi(0)),(1,\phi(1)),(2,\phi(2))\}$. The gasket is not a permutation design and no permutation design is the gasket. \Cref{thm:diagonal} is about the $F_\phi$; \cref{thm:mass,fact:spectrum} are about $G$. \end{definition} \begin{definition}[Code of a design] \label{def:code} Index the nine cells by $3a+b$ for $(a,b)\in\{0,1,2\}^2$. The \emph{code} of a design is $\sum_{(a,b)\in F} 2^{3a+b}$. Under this indexing the four designs of \cref{thm:diagonal} have codes $98$ ($\phi=j+1$), $140$ ($\phi=j+2$), $266$ ($\phi$ swapping $0,1$) and $84$ ($\phi$ swapping $0,2$). The code $84$ is also what the transposed indexing $a+3b$ gives, so no convention rescues the value $148$, which names the cell set $\{(0,2),(1,1),(2,1)\}$ and is not a permutation design at all. \end{definition} \begin{definition}[Rays, mass, fibres] \label{def:ray} A \emph{primitive ray} is a pair $(a,b)$ of nonnegative integers, not both zero, with $\gcd(a,b)=1$; it stands for the half-line $\{z(a,b):z>0\}$. The two \emph{fibre rays} are $(1,0)$ and $(0,1)$. For a design $F$, the \emph{mass} of the ray $(a,b)$ at level $n$ is \[ M_n^F(a,b)=\#\{z\ge 1 \;:\; z\,(a,b)\in S_n(F)\}, \] and we drop the superscript when $F=G$. A ray is \emph{occupied} at level $n$ when its mass is positive. The origin lies on no ray. \end{definition} \begin{definition}[Diagonal design, and the count $Z_F$] \label{def:diag} A design $F$ is \emph{diagonal} when for every $n\ge 1$ no two distinct nonzero points of $S_n(F)$ are collinear with the origin, that is, when every occupied ray has mass $1$. Write $Z_F(n)$ for the number of occupied \emph{non-fibre} rays at level $n$. \end{definition} \begin{remark}[$Z$ is a ray count, not a second moment] \label{rem:Z} $Z_F(n)$ counts occupied non-fibre rays, each once. It is not the second moment $\sum_{(a,b)} M_n^F(a,b)^2$ over non-fibre rays. For a diagonal design the two agree, because every mass is $1$; for the gasket they differ wildly, and only the ray count is meant anywhere in this paper. \end{remark} \begin{definition}[Multiplier-pair automaton] \label{def:auto} Fix coprime integers $1\le s(3^n-1)/10$. Then every witness of the pair has weight exactly $4$ and lies in $\{(1,3),(3,1)\}$, both occur or neither, and the pair carries exactly $4$ ordered off-diagonal collinear pairs of $G_n$, or none. At $n=6,\dots,13$ the pairs above that threshold number $18$, $57$, $163$, $402$, $1019$, $2702$, $7060$, $18607$, and every one of them carries exactly $4$. \end{proposition} \begin{proposition}[$\mathcal{B}$ is a constrained tensor square] \label{prop:tensor} Fix coprime $s0$ for some $n$ then \[ q_1\equiv p\pmod 3 . \] \end{lemma} \begin{remark}[What the residue match removes] \label{rem:occupancy} The condition is a congruence on the pair, tested without building an automaton. Of the $11691$ primitive $z$ with $3\mid z_1z_2$ in the box and the six families of \cref{fact:ceiling}, exactly $7103$ match and $4588$ do not, and every one of the $865$ occupied directions matches. It is only necessary: just $865$ of the $7103$ matching directions carry any mass. \Cref{lem:branch}(2) removes the directions with $3\nmid z_1z_2$ and \cref{lem:occupancy} removes $4588$ of the $11691$ left, both by arithmetic alone and neither needing an automaton. \end{remark} \begin{theorem}[The golden ceiling, proved cases] \label{thm:ceilingproved} Let $(a,b)$ be primitive with $a,b\ge 1$. Then $M_n(a,b)\le F(n+1)-1$ for every $n\ge 0$ in each of these cases. \begin{enumerate} \item $3\nmid ab$, where in fact $M_n(a,b)=0$. \item No branch state of $\mathcal{C}(a,b)$ has both successors branching, which by \cref{lem:branch}(3) holds whenever $k=v_3(q)=1$. \item $\{a,b\}=\{1,3^{\,j}\}$, and there the bound is strict for $j\ge 2$ and $n\ge 2$. \item $\mathcal{C}(a,b)$ carries a \emph{Fibonacci certificate}: rationals $\alpha(c)\ge 0$ and $\beta(c)$ on the live states, with $\alpha(0)=1$, $\beta(0)=0$ and \[ \sum_{c'}\alpha(c')\le\alpha(c)+\beta(c), \qquad \sum_{c'}\beta(c')\le\alpha(c) \] at every state $c$, both sums running over the successors of $c$ with multiplicity. \end{enumerate} \end{theorem} \begin{remark}[Both hypotheses are load-bearing] \label{rem:fibre} The restriction $a,b\ge 1$ in \cref{lem:branch} is not decorative, and neither is counting edges with multiplicity. On the fibre ray $(a,b)=(0,1)$ the increments $0$, $b$, $-a$ are $0$, $1$, $0$: the digits $(0,0)$ and $(0,1)$ give the same increment, so the start state carries two edges, both to itself, and $(T^n)_{00}=2^n$. Read as a set of successor states the automaton would show no branch state at all, and \cref{thm:ceilingproved}(2) would return the ceiling; but $M_n(0,1)=2^n-1$, which is $63$ against $F(7)-1=12$ at $n=6$. For $a,b\ge 1$ the three increments are distinct and the reading is unambiguous. \end{remark} \begin{remark}[Why case (2) does not extend] \label{rem:statemax} Case (2) is proved by bounding $G(n)=\max_c N(c,n)$, where $N(c,n)$ counts the paths of length $n$ from $c$ to the start state, and the proof needs $G(n)\le G(n-1)+G(n-2)$. That inequality is false in general. At $z=(1,9)$ the profile runs $G(0),\dots,G(6)=1$, $1$, $1$, $2$, $4$, $6$, $9$ and already $G(4)=4>G(3)+G(2)=3$; over the box of \cref{prop:boxsettled} it fails for eight directions, all with $k\ge 2$. So $k\ge 2$ needs a different mechanism, and cases (3) and (4) are two of them. \end{remark} \begin{definition}[First returns and the golden potential] \label{def:golden} Let $(a,b)$ be primitive with $a,b\ge 1$. For a live state $c$ of $\mathcal{C}(a,b)$ let $g(c,m)$ count the paths of length $m$ from $c$ to the start state that meet the start state only at their last step, with $g(0,0)=1$ and $g(0,m)=0$ for $m\ge 1$, and set \[ u(c)=\sum_{m\ge 0}g(c,m)\varphi^{-m}\in[0,\infty], \qquad U(a,b)=\sum_{c'\neq 0}u(c') , \] the second sum running over the successors of the start state other than the start state, with multiplicity. Write $f_j$ for the number of closed paths of length $j$ at the start state that meet it only at their two ends, so $f_1=1$, $f_j=\sum_{c'\neq 0}g(c',j-1)$ for $j\ge 2$, and $\sum_{j\ge 2}f_j\varphi^{-j}=\varphi^{-1}U(a,b)$. \end{definition} \begin{theorem}[The golden ceiling from a potential] \label{thm:potential} Let $(a,b)$ be primitive with $a,b\ge 1$, and suppose there is $\pi>0$ on the live states of $\mathcal{C}(a,b)$ with \[ \sum_{c'}\pi(c')\le\varphi\,\pi(c)\ \ \text{for every live }c\neq 0, \qquad \sum_{c'\neq 0}\pi(c')\le\varphi^{-2}\pi(0), \] both sums over successors with multiplicity, the second over the successors of the start state other than the start state. Then $U(a,b)\le\varphi^{-2}$ and $M_n(a,b)\le F(n+1)-1$ for every $n\ge 0$. Conversely $\pi=u$ is such a potential as soon as $U(a,b)\le\varphi^{-2}$, so the hypothesis says exactly that. \end{theorem} \begin{remark}[What the criterion misses, and why $(1,3)$ is extremal] \label{rem:golden} On the shift ray $\{a,b\}=\{1,3^{\,j}\}$, \cref{thm:mass}(2) writes $N(0,n)=M_n+1$ as $\prod_{rj$ by the envelope $F(m)\ge\varphi^{m-2}$ in the proof of \cref{thm:potential}, and $\sum_nN(0,n)x^n=1/(1-\Phi(x))$, with $\Phi(x)=\sum_{j\ge1}f_jx^j$, blows up as $x$ rises to $\varphi^{-1}$; since $\Phi$ has nonnegative coefficients, monotone convergence gives $\Phi(\varphi^{-1})=1$, that is $U(1,3^{\,j})=\varphi(1-\varphi^{-1})=\varphi^{-1}$ exactly. So \cref{thm:potential} misses every shift ray, and \cref{thm:ceilingproved}(3) is exactly the complementary tool. Length-two first returns say why $(1,3)$ is the heaviest ray: $f_2$ counts the pairs of increments $\varepsilon_0\neq 0$ with $3\mid\varepsilon_0$ and $\varepsilon_1=-\varepsilon_0/3$, and $\varepsilon_0=b$ forces $b=3a$ while $\varepsilon_0=-a$ forces $a=3b$, so $f_2=1$ when $\{a,b\}=\{1,3\}$ and $f_2=0$ at every other direction. \end{remark} \begin{lemma}[Short first returns] \label{lem:short} Let $z$ be primitive with $z_1,z_2\ge 1$ and $3\mid z_1z_2$, and let $p$, $q=3^{\,k}q_1$ be as in \cref{lem:occupancy}. Then: \begin{enumerate} \item $f_j=0$ for $2\le j\le k$, so the shortest first return through a state other than the start state has length more than $v_3(q)$; \item $f_2=1$ if $\{z_1,z_2\}=\{1,3\}$ and $f_2=0$ at every other direction; \item $f_3=1$ if $\{z_1,z_2\}$ is one of $\{1,9\}$, $\{1,12\}$, $\{3,10\}$, $\{4,9\}$, and $f_3=0$ at every other direction; \item away from $\{1,3\}$, \[ U(z)=\varphi^{-2}\sum_{j\ge 3}f_j\varphi^{\,3-j}, \] so $U(z)\le\varphi^{-2}$ says exactly $\sum_{j\ge 3}f_j\varphi^{\,3-j}\le 1$. Away from the four directions of (3) this forces $f_4\le 1$, and $f_4=1$ forces $\sum_{j\ge 5}f_j\varphi^{\,5-j}\le 1$ in turn. \end{enumerate} \end{lemma} \begin{theorem}[The degree potential and its sweep] \label{thm:degree} Let $(a,b)$ be primitive with $a,b\ge 1$ and occupied. Put $\pi_0(0)=1$ and, at a live state $c\neq 0$, put $\pi_0(c)=1$ if its live out-degree is two and $\pi_0(c)=\varphi^{-1}$ if it is one. Define $\pi_{d+1}(0)=1$ and $\pi_{d+1}(c)=\varphi^{-1}\sum_{c'}\pi_d(c')$ at live $c\neq 0$, the sum over successors with multiplicity. If $\pi_0$ satisfies the first inequality of \cref{thm:potential}, which happens whenever no branch state of the live automaton has both successors of out-degree two and is in any case a finite check, then \[ u\le\pi_{d+1}\le\pi_d\le\pi_0 \quad\text{pointwise, so}\quad U(a,b)\le\sum_{c'\neq 0}\pi_d(c')\ \ \text{for every }d\ge 0, \] a decreasing sequence of bounds in $\mathbf{Q}(\sqrt5)$; if one of them is at most $\varphi^{-2}$ then so is $U(a,b)$, and \cref{con:potential} holds at that direction. \end{theorem} \begin{theorem}[The golden partition bound where $3$ divides a coordinate exactly once] \label{thm:golden1} Let $z$ be primitive and occupied with $z_1,z_2\ge 1$, let $p$ and $q=3q_1$ be as in \cref{lem:occupancy} with $v_3(q)=1$, and suppose $\{z_1,z_2\}\neq\{1,3\}$. Then $t:=v_3(q_1-p)$ is finite and at least $1$, and \[ U(z)\ \le\ \varphi^{-1}\bigl(1-\varphi^{-\max(t,2)}\bigr)\ <\ \varphi^{-1} . \] In particular $U(z)\le\varphi^{-2}$ whenever $t\le 2$, so \cref{con:potential} and with it the golden ceiling at every level hold for every primitive direction in the arithmetically defined class \[ v_3(q)=1,\qquad v_3\bigl(q/3-p\bigr)\le 2,\qquad \{z_1,z_2\}\neq\{1,3\} , \] an infinite family, in which the members with $t=0$ are covered too: they fail the residue match of \cref{lem:occupancy}, so they carry no mass at any level and have $U(z)=0$. For every direction with $v_3(q)=1$ other than $\{1,3\}$ the growth rate of $M_n(z)$ is therefore strictly below $\varphi$. The bound is attained at $(1,12)$, where $t=1$, and at $(3,10)$, where $t=2$. \end{theorem} \begin{remark}[Two forms of the bound with no automaton in them] \label{rem:reform} Cutting a closed path at its first return to the start state gives $\sum_n N(0,n)x^n=1/(1-\Phi(x))$ with $\Phi(\varphi^{-1})=\varphi^{-1}\bigl(1+U(z)\bigr)$, so for a direction with $U(z)<\varphi^{-1}$ \[ \sum_{n\ge 0}\bigl(M_n(z)+1\bigr)\varphi^{-n}=\frac{1}{\varphi^{-2}-\varphi^{-1}U(z)} , \] and $U(z)\le\varphi^{-2}$ says exactly that this golden series is at most $\varphi^{4}=3\varphi+2$. Grouping by multiplier instead of by level: let $\mathcal{M}(z)$ be the set of $m\ge 1$ with $mz\in G_n$ for some $n$, and for $m\in\mathcal{M}(z)$ let $\ell(m)$ be the number of base-$3$ digits of $(z_1+z_2)m$. Since $mz_1$ and $mz_2$ are then binary with disjoint supports, $(z_1+z_2)m$ is their carry-free sum, so $mz\in G_n$ holds for $n\ge\ell(m)$ and for no smaller $n$. Hence $\sum_nM_n(z)\varphi^{-n}=\varphi^2\sum_{m}\varphi^{-\ell(m)}$, and \cref{con:potential} reads \[ \sum_{m\in\mathcal{M}(z)}\varphi^{-\ell(m)}\ \le\ \varphi \] at every non-shift direction: a weighted count of the multipliers of $z$, with no carry automaton in it, in which the weight of a multiplier is $\varphi$ to the minus its level. \end{remark} \begin{proposition}[The box is settled at every level] \label{prop:boxsettled} Among the $13158$ primitive $z$ with $z_1\le 120$ and $z_1\le z_2\le 240$, exactly $6566$ have $3\nmid z_1z_2$ and are settled outright by \cref{thm:ceilingproved}(1); of the other $6592$, exactly $218$ have a live automaton larger than the start state and the remaining $6374$ have $M_n(z)=0$ at every level, so they need nothing. Every one of the $218$ has out-degree at most two with its branch states in a single class modulo $3$ and all its carries inside $[-z_1/2,\,z_2/2]$, the largest live set having $37$ states. Of the $218$, case (2) settles $206$, of which $107$ have $k=1$, and the twelve left over are \[ \begin{aligned} &(1,9),\ (1,27),\ (1,81),\ (1,90),\ (4,117),\ (9,73),\\ &(9,82),\ (9,235),\ (10,81),\ (13,108),\ (27,217),\ (27,226). \end{aligned} \] The first three are shift rays and fall to case (3); the other nine carry explicit Fibonacci certificates, of denominators $18$, $40$, $381$, $18$, $2013$, $18$, $40$, $2013$ and $34$, verified in exact integer arithmetic. So the golden ceiling holds on the whole box at every level, not only at the levels enumerated in \cref{fact:ceiling}. The box is settled a second time by one criterion rather than twelve special cases. The golden potential of \cref{def:golden} is finite, strictly positive and in $\mathbf{Q}(\sqrt5)$ on all $218$ directions, and $U(z)\le\varphi^{-2}$ on exactly $214$ of them; the four failures are the shift rays $(1,3)$, $(1,9)$, $(1,27)$ and $(1,81)$, each with $U=\varphi^{-1}$ exactly, as \cref{rem:golden} requires. So \cref{thm:potential} settles every non-shift direction of the box and \cref{thm:ceilingproved}(3) settles the four shift rays. Over the $218$, $U$ takes $57$ distinct values: $\varphi^{-1}$ on the four shift rays, then $\varphi^{-2}=2-\varphi$ at $(1,12)$, $(3,10)$ and $(4,9)$, then $(9\varphi-14)/2$ at $(1,90)$, $(9,82)$ and $(10,81)$, and nothing in between $\varphi^{-2}$ and $\varphi^{-1}$. \end{proposition} \begin{proposition}[Ray mass is carried by the weight] \label{prop:weightmass} Let $z$ be primitive of weight $w=z_1+z_2$ and let $D_n(w)$ count the $K$ with $04}R_w(n)=O(\varphi^{2n})$, the whole sum after \cref{thm:weightfour} has removed the weight-four orbit. Coprimality has to survive that summation: the majorant $\sum_zM_n(z)(M_n(z)-1)$, which keeps the ceiling and drops only the coprimality of $(s,t)$, already runs at $2.907$ per level, above $\varphi^2$, so no route through the second moment of the mass alone can reach the conjecture. \end{conjecture} \begin{conjecture}[The gap is universal] \label{con:gap} For every coprime pair $(s,t)$ with $s0$ with $\mathcal{A}v\le 2v$ constructed for every non-shift pair at once. \end{conjecture} \begin{remark}[Open direction] \label{rem:open} \Cref{fact:spectrum} bounds pairs, not triples or larger families, and a bound on pairs alone gives only a crude bound on the number of occupied gasket rays. Extending the gap from pairs to $k$-tuples of multipliers is the natural next question and is not addressed here. Neither is the one thing \cref{con:residual} would need from it: a bound with a constant explicit in $(s,t)$, since the pairs active at level $n$ already number about $2.77^{\,n}$ and any bound of the shape $C(s,t)\,2^n$ is useless without control of $\sum C(s,t)$. That is a reason to change coordinate rather than to sharpen the pair bound: \cref{con:witness} asks the same question of the witness, where \cref{fact:ceiling} already supplies the constant and only the summation over weights is open. \end{remark} \section{Proofs} \label{sec:proofs} \begin{proof}[Proof of \cref{lem:cross}] Write $x=\sum_{i0$. So the fibre ray $(1,0)$ is occupied, by exactly one point. Symmetrically the first coordinate vanishes exactly when every digit is $0$, giving the single point $\bigl(0,\phi(0)(3^n-1)/2\bigr)$, so the fibre ray $(0,1)$ is occupied by exactly one point. No point lies on both, since it would be the origin. Therefore exactly two of the $3^n$ occupied rays are fibre rays and \[ Z_{F_\phi}(n)=3^n-2 \qquad (n\ge 1), \] which is the claim. Conversely suppose $\phi(0)=0$. There are two such permutations. For the identity, $F_{\mathrm{id}}=\{(0,0),(1,1),(2,2)\}$ and at level $1$ the points $(1,1)$ and $(2,2)$ satisfy $1\cdot 2-1\cdot 2=0$, so they are collinear with the origin and $F_{\mathrm{id}}$ is not diagonal. For $\phi(j)=2j$, that is $F_\phi=\{(0,0),(1,2),(2,1)\}$, level $1$ is fine but level $2$ is not: the digit string $(d_0,d_1)=(1,0)$ gives $(1,2)$ and the string $(0,1)$ gives $(3,6)$, and $1\cdot 6-2\cdot 3=0$. So $F_\phi$ is not diagonal either. This proves the equivalence, and the four qualifying permutations are exactly those with $\beta=\phi(0)\neq 0$, namely $x\mapsto x+1$, $x\mapsto x+2$, $x\mapsto 2x+1$ (the swap of $0$ and $1$) and $x\mapsto 2x+2$ (the swap of $0$ and $2$). \end{proof} \begin{proof}[Proof of \cref{prop:total}] The level-$n$ gasket has $3^n$ points, one per digit string, and distinct strings give distinct points because the pair of coordinates determines each digit. A point lies on the fibre ray $(1,0)$ or is the origin exactly when its second coordinate vanishes, that is when every digit lies in $\{(0,0),(1,0)\}$: that is $2^n$ strings. Symmetrically $2^n$ strings give second-coordinate points with first coordinate $0$. The two families meet in the single all-$(0,0)$ string, the origin. So the number of points that are nonzero and off both fibres is \[ 3^n-\bigl(2^n+2^n-1\bigr)=3^n-2^{n+1}+1 , \] and this count is precisely the sum of the masses of the non-fibre rays, since every such point lies on exactly one primitive ray. \end{proof} \begin{proof}[Proof of \cref{prop:raycarry}] A point $x\in G_n$ is a digit string $d_0,\dots,d_{n-1}\in G$, and $x$ lies on the ray through $(a,b)$ exactly when $b\,x_1-a\,x_2=0$. Run $\mathcal{C}(a,b)$ on the string. After $i$ steps the state is $(b\,u_1-a\,u_2)/3^i$, where $u$ is the point built from the first $i$ digits; admissibility is exactly the statement that this is an integer, and the run returns to $0$ after $n$ steps precisely when $b\,x_1-a\,x_2=0$. Closed paths of length $n$ at the start state are therefore in bijection with the level-$n$ gasket points on the ray, the origin included, so their number is $M_n(a,b)+1$. Trimming to live states changes nothing, as in \cref{prop:growth}. For the bound, the increment $b\,d_1-a\,d_2$ takes only the values $0$, $b$, $-a$ as $d$ runs over $G$, so $c\mapsto(c+\varepsilon)/3$ carries $[-a/2,\,b/2]$ into itself: the largest image is $(b/2+b)/3=b/2$ and the smallest is $(-a/2-a)/3=-a/2$. The start state $0$ lies in that interval. \end{proof} \begin{proof}[Proof of \cref{thm:mass}(1), (3) and (4)] By \cref{prop:raycarry} it suffices to exhibit the live automaton in each case; then $(T^n)_{00}$ satisfies the linear recurrence whose polynomial is the characteristic polynomial of $T$, by Cayley--Hamilton, and matching as many initial values as the degree pins the sequence for every $n$. For $(3,1)$ the increment is $c\mapsto c+d_1-3d_2$. From $0$ the digit $(0,0)$ returns to $0$, the digit $(1,0)$ gives $1$, not divisible by $3$, and the digit $(0,1)$ gives $-3$, hence the state $-1$. From $-1$ the digit $(1,0)$ gives $0$ and the other two give $-1$ and $-4$, neither divisible by $3$. So the live states are $\{0,-1\}$ with $T=\left(\begin{smallmatrix}1&1\\1&0\end{smallmatrix}\right)$, whose powers are the Fibonacci matrix, $(T^n)_{00}=F(n+1)$. For $(1,12)$ the increment is $c\mapsto c+12d_1-d_2$. From $0$ the digit $(0,0)$ returns to $0$ and the digit $(1,0)$ gives $12$, hence the state $4$; from $4$ only $(0,1)$ survives, giving $3$, hence $1$; from $1$ only $(0,1)$ survives, giving $0$. The live set is $\{0,4,1\}$, a loop at $0$ together with a $3$-cycle through it, so $\det(\lambda I-T)=\lambda^3-\lambda^2-1$ and $(T^n)_{00}$ obeys $a(m)=a(m-1)+a(m-3)$ with $(T^0)_{00},(T^1)_{00},(T^2)_{00}=1,1,1$. For $(7,3)$ the increment is $c\mapsto c+3d_1-7d_2$. From $0$ the digit $(0,0)$ returns and $(1,0)$ gives $3$, hence $1$; from $1$ only $(0,1)$ survives, giving $-6$, hence $-2$; from $-2$ only $(0,1)$ survives, giving $-9$, hence $-3$; from $-3$ the digit $(1,0)$ gives $0$ and the digit $(0,0)$ gives $-3$, hence $-1$, from which no digit is admissible. The live set is $\{0,1,-2,-3\}$, a loop at $0$ together with a $4$-cycle, so $\det(\lambda I-T)=\lambda^4-\lambda^3-1$ and $(T^n)_{00}$ obeys $c(m)=c(m-1)+c(m-4)$ with $(T^3)_{00},\dots,(T^6)_{00}=1,2,3,4$. \end{proof} \begin{proof}[Proof of \cref{thm:mass}(2)] Multiplication by $3^j$ shifts base-$3$ digits, so at position $i$ the point $z\,(3^j,1)=(3^jz,\,z)$ has digit pair $(z_{i-j},\,z_i)$, with $z_{i-j}$ read as $0$ for $i0$, so $(T^n)_{00}^{1/n}\to\lambda$ \cite[Ch.~1]{seneta}. \end{proof} \begin{proof}[Proof of \cref{prop:one4}] Take $s=1$, $t=4$ in \cref{def:auto}. From the start state $A=(0,0;0,0)$ the digit $(0,0)$ produces output digits $(0,0)$ and $(0,0)$ with no carry, returning to $A$; the digit $(1,0)$ produces $1\cdot(1,0)=(1,0)$, admissible with no carry, and $4\cdot(1,0)=(4,0)\equiv (1,0) \bmod 3$ with carry $(1,0)$, so the successor is $B=(0,0;1,0)$; symmetrically the digit $(0,1)$ leads to $C=(0,0;0,1)$. From $B$, the digit $(0,0)$ gives second-track value $(1,0)$, admissible, with successor carry $(0,0)$, so $B\to A$; the digits $(1,0)$ and $(0,1)$ give second-track values $(5,0)\equiv (2,0)$ and $(1,1)$ respectively, neither in $G$, so they are inadmissible. Symmetrically $C\to A$ only. No further states are reachable, so the reachable set is $\{A,B,C\}$ with the transition matrix \[ T=\begin{pmatrix} 1&1&1\\ 1&0&0\\ 1&0&0\end{pmatrix}. \] Its trace is $1$, the sum of its principal $2\times 2$ minors is $(-1)+(-1)+0=-2$, and its determinant is $0$ because the last two rows agree; hence $\det(\lambda I-T)=\lambda^3-\lambda^2-2\lambda=\lambda(\lambda-2)(\lambda+1)$ and the spectral radius is $2$. For the count, let $G_m$ be the number of paths of length $m$ starting at $A$. Such a path either begins with the loop $A\to A$, leaving a path of length $m-1$ from $A$, or begins with $A\to B$ or $A\to C$, in which case the next step is forced back to $A$ and leaves a path of length $m-2$ from $A$. Hence $G_m=G_{m-1}+2G_{m-2}$ for $m\ge 2$, with $G_0=1$ and $G_1=3$. Solving the recurrence with roots $2$ and $-1$ gives $G_m=\bigl(2^{m+2}-(-1)^m\bigr)/3$, and $G_{15}=(2^{17}+1)/3=43691$. The same split applies to paths that return to $A$, since after $A\to B\to A$ or $A\to C\to A$ the walk is again at $A$: writing $R_m$ for their number, $R_m=R_{m-1}+2R_{m-2}$ for $m\ge 2$ with $R_0=R_1=1$, so $R_m=\bigl(2^{m+1}+(-1)^m\bigr)/3$ and $R_{15}=(2^{16}-1)/3=21845$. By \cref{prop:growth} it is $R_m$, not $G_m$, that counts the $z$ with $z,4z\in G_m$. \end{proof} \begin{proof}[Proof of \cref{lem:weight}] A pair $(X,Y)$ lies in $G_n$ exactly when $X$ and $Y$ have base-$3$ digits in $\{0,1\}$ and disjoint digit support; equivalently, when $X$, $Y$ and $X+Y$ all have base-$3$ digits in $\{0,1\}$, since disjointness is exactly the absence of carries in $X+Y$. Suppose $mz\in G_n$ with $m\ge 1$ and $z_1,z_2\ge 1$, and put $w=z_1+z_2\ge 2$. If $w=2$ then $z=(1,1)$ and $mz_1=mz_2=m$, whose support meets itself unless $m=0$. If $w=3$ then $z$ is $(1,2)$ or $(2,1)$; the coordinate with multiplier $1$ forces $m$ itself to be binary, so its lowest nonzero digit is $1$, and then $2m$ carries the digit $2$ in that position, so $2m$ is not binary. Both cases are impossible, so $w\ge 4$. For the height, $tz_1$ and $tz_2$ lie in disjoint digit positions and are binary, so $tz_1+tz_2=tw$ is binary and less than $3^n$; the largest binary base-$3$ number below $3^n$ is $(3^n-1)/2$, whence $tw\le (3^n-1)/2$ and $t\le (3^n-1)/8$. The same argument applies to $s$. \end{proof} \begin{proof}[Proof of \cref{prop:topband}] Let $t=\max(s,t)>(3^n-1)/10$. By the proof of \cref{lem:weight} any witness has $tw\le (3^n-1)/2$, so $w<5$, and $w\ge 4$ gives $w=4$. The witnesses of weight $4$ are $(1,3)$, $(2,2)$ and $(3,1)$, and $(2,2)$ is excluded because $2m$ would have to be disjoint from itself. Exchanging coordinates is a symmetry of $G$ and hence of $G_n$, and it exchanges $(1,3)$ with $(3,1)$, so the two witnesses are admissible together. Each admissible witness contributes the unordered point pair $\{sz,tz\}$, that is two ordered pairs, so the pair carries $4$ or $0$. \end{proof} \begin{proof}[Proof of \cref{prop:tensor}] A $\mathcal{B}$-edge on the digit $(d_x,d_y)$ from $(\mathbf{a};\mathbf{b})$ requires $\bigl((sd_x+a_1)\bmod 3,(sd_y+a_2)\bmod 3\bigr)\in G$ and the same for $t$, and its successor acts on the $x$-carries $(a_1,b_1)$ using $d_x$ alone and on the $y$-carries $(a_2,b_2)$ using $d_y$ alone. So the underlying transition is the product of two $\mathcal{C}$-steps, and only the admissibility couples them. Since $G=\{(0,0),(1,0),(0,1)\}$, membership says each of the four residues lies in $\{0,1\}$ and neither the two $s$-residues nor the two $t$-residues are both $1$. The first requirement is already imposed inside $\mathcal{C}$. Writing the two forbidden events as $\{u_x=u_y=1\}$ and $\{v_x=v_y=1\}$, inclusion and exclusion on the product $S\otimes S$ removes $U\otimes U$ and $V\otimes V$ and restores their intersection $W\otimes W$. The carry bound is immediate: $a\le s$ and $b\le t$ are preserved by $a\mapsto\lfloor (sd+a)/3\rfloor$ since $d\le 2$. \end{proof} \begin{proof}[Proof of \cref{prop:box}] By the proof of \cref{lem:weight}, $t(z_1+z_2)\le (3^n-1)/2$ for every $z$ counted on the left, so the constraint $z_1+z_2\le W_n(t)$ is vacuous and the two sets are equal. The right-hand set is contained in a triangle of $O(W_n(t)^2)$ lattice points, and each membership test reads $n$ base-$3$ digits. \end{proof} \begin{proof}[Proof of \cref{thm:weightfour}] By the proof of \cref{prop:topband} the weight-four witnesses are exactly $(1,3)$ and $(3,1)$, which are exchanged by the coordinate swap, so $R_4(n)$ is twice the count for $z=(1,3)$. There $m$ is admissible exactly when $m$ and $3m$ are binary with disjoint support, that is when $m$ is binary with no two adjacent ones and $3m<3^n$; the binary strings of length $n-1$ with no two adjacent ones number $F(n+1)$, and discarding $m=0$ gives $\#F_n=F(n+1)-1$. The pairs counted are the ordered coprime pairs from $F_n$ whose ratio is not a power of $3$, so $R_4(n)<2(\#F_n)^2$. From $F(k)=(\varphi^k-\psi^k)/\sqrt5$ with $|\psi|<1<\sqrt5$ we get $F(n+1)-1<\varphi^{n+1}/\sqrt5$, hence $R_4(n)<2\varphi^{2n+2}/5=(2\varphi^2/5)\varphi^{2n}<1.0473\,\varphi^{2n}$. For the scaling, $3v\in G_n$ if and only if $v\in G_{n-1}$, since multiplying by $3$ shifts every base-$3$ digit up one place. So $m(3z)\in G_n$ if and only if $mz\in G_{n-1}$, giving $M_n(3z)=M_{n-1}(z)$ and $P_n(3z)=P_{n-1}(z)$. It remains to see that the witnesses of weight $3w$ are exactly $3$ times those of weight $w$, that is, that a witness $z$ of weight divisible by $3$ has both coordinates divisible by $3$. Suppose $3\mid z_1+z_2$ but $3\nmid z_1$, so also $3\nmid z_2$. Then for any $m\ge 1$, $v_3(mz_1)=v_3(m)=v_3(mz_2)$, so $mz_1$ and $mz_2$ have their lowest nonzero base-$3$ digit in the same position; being binary, that digit is $1$ in both, so their supports meet and $mz\notin G_n$. Hence such a $z$ is a witness for no $m$ at all, and summing $P_n(3z)=P_{n-1}(z)$ over the witnesses of weight $w$ gives $R_{3w}(n)=R_w(n-1)$. Iterating and summing the geometric series, $\sum_{j\ge 0}R_4(n-j)<(2\varphi^2/5)\varphi^{2n}\sum_{j\ge 0}\varphi^{-2j}=(2\varphi^3/5)\varphi^{2n}<1.6945\,\varphi^{2n}$, using $\varphi^2/(\varphi^2-1)=\varphi$. \end{proof} \begin{proof}[Proof of \cref{lem:branch}] (1) A prime dividing both $a$ and $b$ divides their gcd, which is $1$, so $3$ cannot divide both. If it divides $a$ then $a+b$ is congruent to $b$, which it does not divide, so it does not divide $a+b$; the case $3\mid b$ is symmetric. At most one of the three is a multiple of $3$. (2) If $3\nmid ab(a+b)$ the three increments are pairwise incongruent modulo $3$, so each state admits exactly one increment and the automaton is deterministic; from the start state the admissible increment is $0$, and the unique path of every length is the all-$(0,0)$ one. If instead $3\nmid ab$ but $3\mid a+b$, then $b\equiv-a\not\equiv 0$, so $0$ is the only increment congruent to $0$: the start state has out-degree one with itself as successor, and again the all-$(0,0)$ path is the only closed one at $0$. In both cases $M_n(a,b)=1-1=0$ by \cref{prop:raycarry}. (3) By (1) and (2) exactly one of $a$, $b$ is divisible by $3$; call it $q$. The congruent pair of increments is $\{0,-a\}$ or $\{0,b\}$ according as $q$ is $a$ or $b$, and in each case the two differ by $\pm q$; the third increment is not divisible by $3$, so it sits in a different class. A state $c$ admits $\varepsilon$ exactly when $\varepsilon\equiv-c$, so out-degree two occurs exactly on $3\mid c$ and out-degree one on the class of the third increment; the remaining class has out-degree zero. The successors of a branch state are $(c+\varepsilon_1)/3$ and $(c+\varepsilon_2)/3$, which differ by $(\varepsilon_1-\varepsilon_2)/3=\pm q/3$, and $3\nmid q/3$ exactly when $v_3(q)=1$. \end{proof} \begin{proof}[Proof of \cref{thm:ceilingproved}] (1) is \cref{lem:branch}(2). (2) Write $N(c,n)$ for the number of paths of length $n$ from the state $c$ to the start state $0$, and $G(n)=\max_c N(c,n)$ over the live states, a finite set by \cref{prop:raycarry}. Then $N(c,0)=[c=0]$, so $G(0)=1=F(1)$; and the successors of a state are distinct, so at most one of them is $0$ and $G(1)\le 1=F(2)$. Let $n\ge 2$. If $c$ has out-degree at most one then $N(c,n)\le G(n-1)$. If $c$ branches, its two successors are $c'$ and $c''$ and by hypothesis one of them, say $c''$, is not a branch state; then $N(c'',n-1)$ is $0$ if $c''$ has out-degree zero and otherwise equals $N(c''',n-2)\le G(n-2)$ for the unique successor $c'''$ of $c''$. So $N(c,n)\le G(n-1)+G(n-2)$ in every case, and $G(n)\le G(n-1)+G(n-2)$. Induction gives $G(n)\le F(n+1)$, and $M_n(a,b)=N(0,n)-1\le F(n+1)-1$ by \cref{prop:raycarry}. (3) For $n\le j$ the mass is $0$ and the claim is clear. For $n>j$, \cref{thm:mass}(2) gives $M_n(1,3^{\,j})+1=\prod_{r0$ there is an $m\ge 1$ with $mz\in G_n$, so $mp$ and $mq$ are both binary in base $3$. Write $m=3^{\,s}m'$ with $3\nmid m'$. Then $mp=3^{\,s}(m'p)$ and $mq=3^{\,s+k}(m'q_1)$, and multiplying by a power of $3$ only shifts a base-$3$ expansion, so $m'p$ and $m'q_1$ are binary as well. Neither is divisible by $3$, since $3\nmid m'$, $3\nmid p$ and $3\nmid q_1$; a binary base-$3$ number with last digit not $0$ has last digit $1$, so $m'p\equiv m'q_1\equiv 1\pmod 3$. Cancelling $m'$, which is invertible modulo $3$, gives $p\equiv q_1$. \end{proof} \begin{proof}[Proof of \cref{lem:short}] The map $c\mapsto-c$ carries $\mathcal{C}(b,a)$ to $\mathcal{C}(a,b)$, because negating the increment set $\{0,a,-b\}$ gives $\{0,b,-a\}$ and the start state is fixed; so $u$, the $f_j$ and $U$ are unchanged by swapping the coordinates and we may assume $3\mid b$, that is $q=b$ and $p=a$. Then the two increments congruent to $0$ are $0$ and $b$, so by \cref{lem:branch}(3) a state $c$ has out-degree two exactly when $3\mid c$, with successors $c/3$ and $c/3+b/3$; out-degree one exactly when $c\equiv a$, with successor $(c-a)/3$; and out-degree zero when $c\equiv-a$. The start state therefore has exactly one successor other than itself, namely $c_0=b/3$, and the states with the start state as a successor are $a$ and $-b$. (1) Write $c_0=3^{\,k-1}q_1$ and let $0\le j\le k-1$. Every state reached from $c_0$ in $j$ steps has the form $3^{\,k-1-j}q_1\bigl(1+\sum_{i\in T}3^{\,i}\bigr)$ with $T\subseteq\{1,\dots,j\}$: this holds at $j=0$, and a state of that shape with $j\le k-2$ is divisible by $3$, so its two successors are obtained by dividing by $3$ and optionally adding $b/3=3^{\,k-1}q_1$, which is the shape at $j+1$. All those states are positive, hence different from the start state, so $g(c_0,j)=0$ for $j\le k-1$ and $f_j=g(c_0,j-1)=0$ for $2\le j\le k$. (2) This is the count in \cref{rem:golden}. (3) A first return of length $3$ is $0\to c_0\to c_2\to 0$ with $c_2\neq 0$, so $c_2\in\{a,-b\}$ and $c_2$ is a successor of $c_0$, that is $3c_2=b/3+\varepsilon$ with $\varepsilon\in\{0,b,-a\}$. Taking $c_2=a$: $\varepsilon=0$ gives $b=9a$, so $a=1$ and $b=9$; $\varepsilon=b$ gives $4b=9a$, so $a=4$ and $b=9$; $\varepsilon=-a$ gives $b=12a$, so $a=1$ and $b=12$. Taking $c_2=-b$: $\varepsilon=0$ and $\varepsilon=b$ ask $-3b$ to equal $b/3$ or $4b/3$, impossible for $b\ge 1$, and $\varepsilon=-a$ gives $3a=10b$, so $b=3$ and $a=10$. Each of the four is realised, with the required congruence $\varepsilon\equiv-c_0$ holding and $c_2$ inside the band of \cref{prop:raycarry}, and each admits exactly one such path, so $f_3=1$ there. At $\{1,3\}$ the state $c_0=1$ has the start state as its only successor, so $f_3=0$. (4) By \cref{def:golden}, $\sum_{j\ge 2}f_j\varphi^{-j}=\varphi^{-1}U(z)$, and $f_2=0$ by (2), so $U(z)=\varphi^{-2}\sum_{j\ge 3}f_j\varphi^{\,3-j}$. The terms are nonnegative, so a sum of at most $1$ forces $f_3\le 1$; with $f_3=0$ it forces $f_4\le\varphi$, that is $f_4\le 1$; and with $f_3=0$ and $f_4=1$ it leaves $\sum_{j\ge 5}f_j\varphi^{\,5-j}\le 1$. \end{proof} \begin{proof}[Proof of \cref{thm:degree}] Suppose no branch state of the live automaton has both successors of out-degree two. A live state of out-degree one has a single successor $c'$ with $\pi_0(c')\le 1=\varphi\cdot\varphi^{-1}=\varphi\,\pi_0(c)$. A live state $c\neq 0$ of out-degree two has successors $c_1$, $c_2$ of which at most one has out-degree two, the start state counting as such a successor since its out-degree is two; so $\pi_0(c_1)+\pi_0(c_2)\le 1+\varphi^{-1}=\varphi=\varphi\,\pi_0(c)$. That is the first inequality of \cref{thm:potential}. Now assume only that $\pi_0$ satisfies it. Write $L$ for the operator $(L\pi)(0)=1$, $(L\pi)(c)=\varphi^{-1}\sum_{c'}\pi(c')$ at live $c\neq 0$, so $\pi_{d}=L^{\,d}\pi_0$. The hypothesis is $L\pi_0\le\pi_0$, and $L$ is monotone because its coefficients are nonnegative, so $\pi_{d+1}\le\pi_d$ by induction. In the notation of the proof of \cref{thm:potential}, $G_M=L^{\,M}G_0$ and $G_0\le\pi_0$, since $G_0$ is the indicator of the start state and $\pi_0(0)=1$; monotonicity gives $G_M\le L^{\,M}\pi_0=\pi_M\le\pi_d$ for $M\ge d$, and letting $M$ grow gives $u\le\pi_d$ for every $d$. Summing over the successors of the start state other than itself gives $U(a,b)\le\sum_{c'\neq 0}\pi_d(c')$, and if that is at most $\varphi^{-2}$ then \cref{thm:potential} applies with $\pi=u$. \end{proof} \begin{proof}[Proof of \cref{thm:golden1}] As in the proof of \cref{lem:short} take $3\mid b$, so $b=q=3q_1$ and $a=p$, out-degree two on $3\mid c$, out-degree one on $c\equiv a$ and out-degree zero on $c\equiv-a$. By \cref{lem:occupancy} $q_1\equiv a\pmod 3$, so $3\mid q_1-a$ and $t\ge 1$; and $t=\infty$ means $q_1=a$, whence $1=\gcd(a,b)=\gcd(a,3a)=a$ and $z=\{1,3\}$, which is excluded. By \cref{lem:branch}(3) with $v_3(q)=1$ the two successors of a branch state differ by $q_1$, which is not divisible by $3$, so at most one of them is divisible by $3$ and hence has out-degree two; \cref{thm:degree} therefore applies and $u\le\pi_0$, where $\pi_0\le 1$ everywhere. The start state has the single other successor $c_0=q_1$, which is not divisible by $3$ and is congruent to $a$, so it has the single successor $x=(q_1-a)/3\neq 0$ and $U(z)=u(c_0)=\varphi^{-1}u(x)$. If $t=1$ then $3\nmid x$, so $\pi_0(x)=\varphi^{-1}$ and $U(z)\le\varphi^{-2}=\varphi^{-1}(1-\varphi^{-2})$. If $t\ge 2$, put $y_j=x/3^{\,j}$ for $0\le j\le t-1$, so $v_3(y_j)=t-1-j$ and $y_j\neq 0$. For $0\le j\le t-2$ the state $y_j$ is divisible by $3$ and its successors are $y_{j+1}$ and $y_{j+1}+q_1$. At $j=t-2$ the state $y_{t-1}$ is not divisible by $3$, so with $r$ its class modulo $3$ the two successor classes are $r$ and $r+a$ with $r\not\equiv 0$; whether $r\equiv a$ or $r\equiv-a$, one of $\{r,r+a\}$ is the class $-a$ of out-degree zero, so that successor is not live and contributes $u=0$; the other contributes at most $1$, being either the start state or a live state with $u\le\pi_0\le 1$ or a state that is not live with $u=0$. Hence $u(y_{t-2})\le\varphi^{-1}\cdot 1=\varphi^{-1}$. For $j\le t-3$ the state $y_{j+1}$ is divisible by $3$, so $y_{j+1}+q_1\equiv q_1\equiv a$ has out-degree at most one, and it is not the start state because $3\nmid q_1$; so either it is live, where $u(y_{j+1}+q_1)\le\pi_0(y_{j+1}+q_1)=\varphi^{-1}$, or it is not, where $u(y_{j+1}+q_1)=0$. Hence $u(y_j)\le\varphi^{-1}\bigl(u(y_{j+1})+\varphi^{-1}\bigr)$ for $j\le t-3$. Setting $\theta_0=\varphi^{-1}$ and $\theta_{i}=\varphi^{-1}(\theta_{i-1}+\varphi^{-1})$ gives $u(y_{t-2-i})\le\theta_i$, and $\theta_i=1-\varphi^{-(i+2)}$ solves that recursion since $\varphi^{-1}(1+\varphi^{-1})=1$. Taking $i=t-2$ gives $u(x)=u(y_0)\le 1-\varphi^{-t}$ and $U(z)\le\varphi^{-1}(1-\varphi^{-t})$. The two cases combine as $U(z)\le\varphi^{-1}(1-\varphi^{-\max(t,2)})<\varphi^{-1}$, and $1-\varphi^{-\max(t,2)}\le\varphi^{-1}=1-\varphi^{-2}$ exactly when $\max(t,2)=2$. Finally $U(z)<\varphi^{-1}$ makes $\Phi(\varphi^{-1})=\varphi^{-1}(1+U(z))<1$, so $\sum_nN(0,n)x^n=1/(1-\Phi(x))$ has radius of convergence larger than $\varphi^{-1}$ and $N(0,n)$ grows at a rate strictly below $\varphi$. \end{proof} \begin{proof}[Proof of \cref{prop:weightmass}] Let $mz\in G_n$. Then $mz_1$ and $mz_2$ are binary in base $3$, below $3^n$, with disjoint supports, so the base-$3$ expansion of $K=mz_1+mz_2=mw$ has no carries: it is binary, it is below $3^n$, and its support is the disjoint union of the two. Distinct $m$ give distinct $K$, and $z_1K/w=mz_1$ recovers the first coordinate, so the displayed set contains the image of $m\mapsto mw$. Conversely a $K$ in that set has $w\mid K$, and putting $m=K/w$ makes $mz_1=z_1K/w$ and $mz_2=K-mz_1$ binary with disjoint supports inside that of $K$, so $mz\in G_n$. The two sets therefore correspond, and dropping the support condition gives $D_n(w)$. \end{proof} \section{Reproducibility} \label{sec:repro} Two scripts ship with the paper. Both are plain \texttt{python3} with no dependencies outside the standard library, take no arguments, read nothing, and use only relative paths. Run them from the paper's directory. \texttt{python3 scripts/verify.py} runs in about $105$ seconds and recomputes every number in \cref{sec:results}, with the single flagged exception noted below. It covers, in order: \begin{itemize} \item all $84$ digit designs at levels $1\le n\le 6$, confirming the ten survivors and the four permutation designs of \cref{fact:census84}, their codes $84,98,140,266$ under the indexing of \cref{def:code}, the fibre counts, and that the cell set named by $148$ is not a permutation design; \item the cross coefficient of \cref{lem:cross} in all $18$ cases $(d_0,d_k,d_k')$ for each of the six permutations, confirming both that it is nonzero exactly when $\phi(0)\neq 0$ and that it equals $\phi(0)(d_k-d_k')$ modulo $3$; \item $Z_{F_\phi}(n)=3^n-2$ for the four diagonal designs and $1\le n\le 8$, $Z_{F_\phi}(0)=0$, and the two explicit collinear witnesses of \cref{thm:diagonal}; \item \cref{thm:mass}: rays $(3,1)$, $(1,12)$ and $(7,3)$ for $n\le 30$, the thirteen shift rays $(3^j,1)$ for $1\le j\le 13$ and $n\le 30$ against the Fibonacci product, and the bounded-carry automaton against direct enumeration of all $3^n$ points for six rays and $1\le n\le 10$, and against the split enumeration for the same six rays and $1\le n\le 14$; then the three live automata of the proof, their state counts $2$, $3$, $4$, their exact characteristic polynomials, and the annihilator residuals of each claimed recurrence; \item \cref{thm:shift}: the run-length characterisation of the shift multipliers by direct enumeration for $n\le 11$, the block form for $n\le 60$, the integer lemma $F(k)\le 2F(k-1)$, the per-$j$ bound and the family bound in exact $\mathbf{Z}[\sqrt5]$ arithmetic for $n\le 160$, and a two-sided rational window placing $\mathrm{Sh}(n)/\varphi^{2n}$ in $(2.198212,\,2.198214)$ for $100\le n\le 160$; \item \cref{prop:sigma} for $n\le 20$, and \cref{fact:second}, both series by literal enumeration; \item \cref{fact:pairs9}: the level-$9$ census, its $2656$ active ordered multiplier pairs, the $482$ with a witness off the gasket and the $2540$ pairs they miss, $\mathcal{A}(s,t)$ against brute force on all $1328$ unordered pairs, and $\mathcal{B}(s,t)$ against brute force on the $103$ of height at most $52$; \item the perfect-square levels of \cref{rem:squares} over $1\le n\le 30$, and the two cases that make $x^4-x^3-1$ irreducible; \item \cref{prop:total} at every level $1\le n\le 12$, and \cref{fact:census12} by enumerating all $531441$ level-$12$ points, including the ten heaviest rays and the mirror symmetry; \item \cref{fact:spectrum}: all $829$ coprime unordered pairs with $\max(s,t)\le 52$, each trimmed to its live states and given an exact integer characteristic polynomial with a nonnegative-shift certificate, plus a bisection in exact rational arithmetic and two-sided rational windows pinning $1.6956207695598\ldots$ with its $25$ attainers and $1.6769719158912\ldots$ with its four, the largest reachable and live state counts $45$ and $33$, the trimming trap of \cref{rem:trim} at $(1,16)$, the return counts of \cref{prop:growth} against direct enumeration for $n\le 8$, and the explicit data of \cref{prop:one4} including the recurrence residuals through $m=15$; \item \cref{prop:tensor}: the tensor identity against the return counts of $\mathcal{B}(s,t)$ on all $473$ coprime pairs below $40$ at every level to $9$, and the four carry-against-reachable state counts; \item \cref{prop:box}: the box construction against $\mathcal{B}(s,t)$ on all $812$ coprime pairs with $s<30$, $t<60$ at $n=9$, and against \cref{prop:tensor} at five large-multiplier pairs at $n=9$ and $n=12$; \item \cref{lem:weight}, \cref{prop:topband} and \cref{thm:weightfour}: $R(n)$ and its weight layers by literal enumeration for $4\le n\le 13$, the scaling law on all $1869$ layers of weight divisible by $3$, the absence of any weight below $4$, the sharpness of the height bound at $\lfloor 3^n/8\rfloor$ for $4\le n\le 13$, the exactly-four contribution of all $30028$ pairs above $(3^n-1)/10$ for $6\le n\le 13$, and $R_4(n)$ against the no-adjacent-ones count with $\#F_n=F(n+1)-1$ for $4\le n\le 12$; \item \cref{fact:ceiling}: $M_n(1,3)=F(n+1)-1$ for $n\le 40$, the ceiling over all $13158$ coprime directions in the box at every $n\le 40$ with $(1,3)$ the sole attainer at $n=40$, and the ceiling over the six adversarial families at every $n\le 45$, family by family with their coprime counts $4221$, $253$, $2998$, $1499$, $1199$, $1199$; \item \cref{lem:branch}, \cref{thm:ceilingproved} and \cref{prop:boxsettled}: the ray automaton rebuilt from the increments $\{0,b,-a\}$ and matched against the gasket-digit automaton on all $947$ coprime pairs below $40$ for $n\le 20$; then over the box, the carry interval $[-z_1/2,z_2/2]$, the out-degree ceiling of two, the single branch class, the counts $13158$, $6566$, $6592$, $218$, $107$, $206$ and the twelve exceptions by name; the nine Fibonacci certificates checked in exact integer arithmetic; then \cref{def:golden} and \cref{thm:potential}, the golden potential solved in exact $\mathbf{Q}(\sqrt5)$ arithmetic on all $218$ occupied directions of the box and on all $647$ occupied outside it, each solution confirmed against both inequalities of the theorem, the counts $214$ and $644$ passing, the seven shift rays over the criterion at $U=\varphi^{-1}$ exactly, and the maximum $\varphi^{-2}$ with its three attainers; the addition formula $F(p+q+3)=F(p+2)F(q+2)+F(p+1)F(q+1)$ for $p,q<60$ and the shift-ray product against $F(n+1)$ for $j\le 13$, $n\le 45$; and the counterexample of \cref{rem:statemax} with its eight failing directions; \item \cref{prop:weightmass}: $M_n(z)\le D_n(w)$ on all $829$ coprime directions with $z_1\le 30$, $z_1\le z_2\le 60$ at $n=12$, and $D_{24}(w)$ at $w=4$, $10$, $28$, $82$ against $F(25)-1$; \item the extension of \cref{fact:second} to $n=13$ and $n=14$ by the direction-grouping pass. Levels $15$, $16$ and $17$ run the identical pass on a machine-integer array sort rather than a list of Python integers, which is a change of container and not of method; they are outside the shipped script only because $3^{17}$ points do not fit its time budget; \item \cref{lem:occupancy}, \cref{lem:short}, \cref{thm:degree} and \cref{thm:golden1} over the union of the box and the six families, $23303$ directions of which $11691$ have $3\mid z_1z_2$, $7103$ match the residue condition and $865$ are occupied: no occupied direction fails the residue match, no occupied direction has a first return of length between $2$ and $v_3(q)$, the burst identity of \cref{con:potential} and the value $u(p)=\varphi^{-1}$ hold at all $865$, the degree potential is a super-solution at $851$ of the $865$ and at $37$ directions outside \cref{thm:ceilingproved}(2), its sweep settles $849$ with the least-depth split $760$, $48$, $31$, $7$, $3$ at depths $1$, $3$, $4$, $5$, $6$ and leaves the seven shift rays and the nine directions named in \cref{con:potential}, and the bound of \cref{thm:golden1} holds at all $360$ occupied directions with $v_3(q)=1$, covers $261$ of them and is attained exactly at $(1,12)$ and $(3,10)$; the classification of $f_2$ and $f_3$ rechecked by direct enumeration on all occupied directions with $z_1<130$ and $z_2<800$; \item \cref{fact:freespectrum}: the same $829$ pairs read through $\mathcal{B}$, its largest live state set $167$, its agreement with $\mathcal{A}$ on every pair with $s=1$ as \cref{lem:free} requires, the same three, twenty and empty lists, then its own ceiling below $2$ pinned in a two-sided rational window with its four attainers, the split $19+25=44$ of pairs that reach or beat the gasket-digit ceiling, certified by the strict rational on one side and by exact divisibility of the characteristic polynomial by $x^3-x^2-2$ on the other, and the closed-path witness at $n=60$. \end{itemize} Every assertion names the quantity, the value obtained, and the value expected, and the script stops at the first mismatch. A successful run ends with \texttt{all green} and exit status $0$. \texttt{python3 scripts/figure.py} runs in well under a second and writes \texttt{figures/rays.svg}, the two-panel picture used outside the paper; the version inside the paper, \cref{fig:rays}, is drawn in \TeX. \texttt{tectonic paper.tex} rebuilds \texttt{paper.pdf}. \section*{Acknowledgments} This paper was developed and verified in collaboration with Claude (Anthropic). The author takes sole responsibility for every claim. \begin{thebibliography}{9} \bibitem{allouche} J.-P. Allouche and J. Shallit, \emph{Automatic Sequences: Theory, Applications, Generalizations}, Cambridge University Press, 2003. \url{https://doi.org/10.1017/CBO9780511546563} \bibitem{kauto} A. Block Gorman and C. Schulz, \emph{Fractal dimensions of $k$-automatic sets}, preprint, 2022. arXiv:2205.02915. \url{https://arxiv.org/abs/2205.02915} \bibitem{oeisA000045} OEIS Foundation Inc., \emph{Sequence A000045 (Fibonacci numbers)}, The On-Line Encyclopedia of Integer Sequences. \href{https://oeis.org/A000045}{https://oeis.org/A000045} \bibitem{oeisA000930} OEIS Foundation Inc., \emph{Sequence A000930 (Narayana's cows sequence)}, The On-Line Encyclopedia of Integer Sequences. \href{https://oeis.org/A000930}{https://oeis.org/A000930} \bibitem{seneta} E. Seneta, \emph{Non-negative Matrices and Markov Chains}, 2nd ed., Springer, 1981. \url{https://doi.org/10.1007/0-387-32792-4} \end{thebibliography} \end{document}