\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[margin=1in]{geometry} \usepackage{amsmath,amssymb,amsthm} \usepackage{iteris} \usepackage{needspace} \usepackage{xurl} \usepackage[hidelinks]{hyperref} \newtheorem{theorem}{Theorem} \newtheorem{proposition}{Proposition} \newtheorem{corollary}{Corollary} \newcommand{\Ham}{d_{\mathrm H}} \newcommand{\ord}{\operatorname{ord}} \newcommand{\ceil}[1]{\left\lceil #1 \right\rceil} \title{Rational Numerals and Carry Geometry in Iteris} \author{Patricio M. Vera\\ \normalsize\href{mailto:patricio@simbionte.org}{\texttt{patricio@simbionte.org}}} \date{25 November 2026} \begin{document} \maketitle \begin{abstract} Iteris is a positional notation in base \(10^4\). It writes each four-digit decimal block as a Cistercian-inspired glyph and arranges the glyphs in a horizontal row. We specify a canonical representation of every rational number and determine the lengths of its fractional prefix and repeating block cycle. The graph of legal single-stroke edits in a quadrant is an isometric subgraph of a five-dimensional binary cube. The Cartesian product of these quadrant graphs makes node distances additive. We derive the exact distribution of decimal carry costs on words of \(m\) decimal digits, including leading zeros as needed to fill the width. Stroke parity rules out a one-stroke ordering of all \(10^m\) words. A construction attains the minimum total edit cost \(10^m+2^m-2\) for an open order. For the four positions of one node the open minimum is \(10{,}014\) and numerical order costs \(19{,}986\). \end{abstract} \section{Introduction} Cistercian numerals combine several decimal digits around a common stem. The historical forms varied in their orientation, stroke shapes, and placement of decimal positions. Documented uses include foliation, indexes, and dates \cite{king,miller}. Historical sources also describe extensions beyond \(9{,}999\), and the modern \texttt{xistercian} package already renders Cistercian numerals in \LaTeX{} \cite{miller,spratte}. Iteris adopts one vertical convention \cite{weisstein} and places its glyphs in a positional sequence extending in both directions from the radix point. We first describe how place value, the four quadrants, and the horizontal row work together. We then ask how to write a rational whose decimal repeat starts inside a four-digit group. The same set of glyphs defines a graph by single-stroke edits. We use it to measure the cost of an increment and to find the least costly order in which to visit all glyphs of a given width. \section{The Iteris notation} \subsection{Base and place value} Iteris groups decimal digits in fours. Each group is one digit of the positional system in base \[ B=10^4=10{,}000. \] We call the glyph for a base-\(B\) digit a \emph{node}. Write \(D=\{0,\ldots,B-1\}\). A \emph{well-formed Iteris numeral} is a tuple \(w=(s,\mathbf a,\mathbf b,\mathbf e)\), where \[ s\in\{-1,+1\},\qquad \mathbf a=(a_k,\ldots,a_0)\in D^+,\qquad \mathbf b=(b_1,\ldots,b_t)\in D^*,\qquad \mathbf e=(e_1,\ldots,e_\ell)\in D^* . \] Here \(D^+\) consists of nonempty finite words, and \(D^*\) also includes the empty word. The words store, in reading order, the integer blocks, the fractional prefix, and the repeating blocks. A minus sign is drawn exactly when \(s=-1\). The radix point appears exactly when \(t+\ell>0\), followed by \(\mathbf b\) and then \(\mathbf e\). An overbar appears exactly when \(\ell>0\) and spans \(\mathbf e\). A numeral with empty \(\mathbf e\) is terminating and has decoded value \begin{equation} x=s\left(\sum_{i=0}^{k} a_i B^i+\sum_{j=1}^{t} b_j B^{-j}\right), \qquad a_i,b_j\in\{0,\ldots,9999\}. \label{eq:finite} \end{equation} The radix point marks the boundary. The last integer node has weight \(B^0\), and the first fractional node has weight \(B^{-1}\). To convert a terminating decimal, group its integer and fractional digits in fours starting at the radix point and moving outward. Pad the outer ends of incomplete groups with zeros. For example, the blocks \(\mathtt{0001}\;\mathtt{0000}\;\mathtt{0005}\) represent \(1\cdot B^2+0\cdot B+5=100{,}000{,}005\), and the fractional block \(\mathtt{0700}\) contributes \(700/B=0.07\). \subsection{The node and its four quadrants} A node's four quadrants encode, in order of increasing place value, units (upper right), tens (upper left), hundreds (lower right), and thousands (lower left). A stem is always drawn. Each quadrant contains a subset of five available segments. In the units quadrant, \(p_1\) and \(p_2\) are the upper and lower horizontal segments, \(p_3\) joins the upper stem point to the lower outer point, \(p_4\) joins the lower stem point to the upper outer point, and \(p_6\) joins the outer points. Reflections in the stem and in the horizontal midline generate the other quadrants. Table~\ref{tab:strokes} gives the common stroke table. The five primitive labels follow the digits formed by single segments. Digit \(5\) combines \(p_1\) and \(p_4\). An all-zero node consists of the stem alone. \begin{table}[htbp] \centering \begin{tabular}{c@{\qquad}l@{\qquad\qquad}c@{\qquad}l} \hline Digit & Stroke set & Digit & Stroke set\\ \hline \(0\) & \(\varnothing\) & \(5\) & \(\{p_1,p_4\}\)\\ \(1\) & \(\{p_1\}\) & \(6\) & \(\{p_6\}\)\\ \(2\) & \(\{p_2\}\) & \(7\) & \(\{p_1,p_6\}\)\\ \(3\) & \(\{p_3\}\) & \(8\) & \(\{p_2,p_6\}\)\\ \(4\) & \(\{p_4\}\) & \(9\) & \(\{p_1,p_2,p_6\}\)\\ \hline \end{tabular} \caption{The stroke set for each digit in the adopted convention. The common stem does not enter the stroke set.} \label{tab:strokes} \end{table} \subsection{Horizontal reading order} Each stem stays vertical within its node. The nodes occupy separate slots on a single line, read left to right. The row begins with a minus sign if needed, followed by the integer nodes from most to least significant. A radix point introduces the fractional nodes, and a continuous overbar marks exactly the nodes that repeat. This layout lets a multi-node numeral occupy the same position in a formula as a conventional numeral. Arithmetic operators, grouping symbols, and exponents retain their usual roles. For example, \(2^{10000}\) can be written \(\Iteris{2}^{\Iteris{10000}}\), with the entire two-node exponent reduced to superscript size. \begin{figure}[htbp] \centering \[ \begin{array}{r@{\qquad}l@{\qquad}l} \text{Value} & \text{Blocks in reading order} & \text{Iteris numeral}\\ \hline 9{,}999 & \mathtt{9999} & \Iteris{9999}\\[3pt] 10{,}000 & \mathtt{0001}\;\mathtt{0000} & \Iteris{10000}\\[3pt] 100{,}000{,}005.07 & \mathtt{0001}\;\mathtt{0000}\;\mathtt{0005}\;.\;\mathtt{0700} & \IterisDecimal{100000005}{0700} \end{array} \] \caption{Crossing \(9999\) requires a second, more significant node. A zero inside a numeral occupies a full slot and retains its stem. In the last row the radix point separates three integer nodes from one fractional node.} \label{fig:horizontal} \end{figure} The reference layout sets the quadrant width to \(W=H/5\), where \(H\) is the stem height. Adjacent node centers are \(3W\) apart. The radix point occupies a separate slot of width \(W\). The bar extends from one quadrant width before the first repeating stem to one quadrant width after the last. Figure~\ref{fig:horizontal} illustrates the node boundaries and how a bare stem carries place value. The full horizontal geometry is specified in Iteris Core \cite{iteris}. \subsection{Recurring fractions} Write \(A=\sum_{i=0}^{k} a_i B^i\) for the value of the integer word. If \(\ell>0\), put \(C=\sum_{i=1}^{\ell} e_i B^{\ell-i}\). The decoded value is \begin{equation} V(w)=s\left(A+\sum_{j=1}^t b_j B^{-j} +\frac{C}{B^t(B^\ell-1)}\right). \label{eq:decode} \end{equation} When \(\ell=0\), omit the last term, giving \eqref{eq:finite}. The period length \(\ell\) counts every block under the bar, including initial zeros. Well-formed numerals can decode to the same value. For example, a zero integer block followed by a repeating \(9999\) block decodes to one. \section{The canonical rational expansion} \label{sec:canonical} Block division specializes the classical theory of rational radix expansions to \(B=10^4\) \cite[Chapter~IX]{hardywright}. The prefix and period formulas below are the corresponding radix-\(B\) formulas. The Iteris specification determines how to display this expansion as a canonical sequence of nodes, with the overbar aligned to node boundaries. Given \(x\in\mathbb Q\), write \(|x|=p/q\) in lowest terms with \(p\ge0\), \(q>0\). The block division rule \(N(x)\) sets \(s=-1\) exactly when \(x<0\). It writes \(A=\lfloor p/q\rfloor\) in base \(B\) with no leading zero unless the integer word is \((0)\). Starting at \(r_0=p\bmod q\), emit \(b_{j+1}\) at step \(j+1\) by Euclidean division \[ Br_j=q b_{j+1}+r_{j+1},\qquad 0\le r_{j+1}0\). This gives condition (2). If it repeats, the value of the fractional tail after each position \(j\) is \(r_j/q\). A cycle that is a proper power of a shorter word of length \(h<\ell\) would give equal tails after \(t\) and \(t+h\), hence an earlier repeated remainder. A singleton cycle of \(0000\) or \(9999\) would give \(r_t/q=0\) or \(1\), respectively, so both are excluded. If \(t>0\) and \(b_t=e_\ell\), the cycle could start one block earlier with a right rotation. Then the equal tails after \(t-1\) and \(t+\ell-1\) would also give an earlier repeat. This proves conditions (3)--(5). Conversely, suppose conditions (1)--(5) hold. Extend the fractional blocks by zeros or by indefinite repetition of the cycle. Conditions (3) and (4) exclude tails of all \(B-1\) blocks, so each tail has value in \([0,1)\). Thus \(A=\lfloor |V(w)|\rfloor\), and successive multiplication of the tails by \(B\) followed by taking the floor recovers the displayed blocks. This is the digit-selection step of division. The sign and integer word match by (1). In the terminating case, (2) fixes the first zero remainder, including the empty fractional word when \(t=0\). No nonzero remainder repeats before step \(t\): equal remainders \(r_i=r_j\) with \(i1\), there are exactly \(t\) fractional blocks before the bar and the period has length \[ \ell=\ord_M(B)=\frac{\ord_M(10)}{\gcd(\ord_M(10),4)} \] in blocks, where \(\ord_M\) denotes multiplicative order modulo \(M\). \end{theorem} \begin{proof} By Proposition~\ref{prop:syntax}, the normalized block conditions characterize the well-formed numerals \(w\) satisfying \(w=N(V(w))\). The identity \(V(N(x))=x\) then shows that \(N(x)\) is canonical and that every canonical numeral of value \(x\) equals \(N(x)\). The division rule gives \(r_j\equiv pB^j\pmod q\). When \(M=1\), the first zero occurs at the least \(j\) for which \(q\mid B^j\), since \(\gcd(p,q)=1\). This gives \(j=t\). When \(M>1\), no zero remainder occurs. Equality of remainders \(r_j=r_{j+h}\) for \(h\ge 1\) is equivalent to \[ q\mid B^j(B^h-1). \] Since \(B^h-1\) is coprime to \(10\), this is equivalent to \(j\ge t\) and \(\ord_M(B)\mid h\). If \(L=\ord_M(10)\), then \(B^h\equiv1\pmod M\) is equivalent to \(L\mid 4h\), giving the stated length. Any block expansion with a prefix of length \(j\) and a cycle of length \(h\) has a reduced denominator dividing \(B^j(B^h-1)\) by \eqref{eq:decode}, so these lengths are minimal. \end{proof} For \(1/7\), the ordinary period has six digits. The Iteris period contains three blocks, or twelve digits, so the bar ends on a block boundary. The \(1/30000\) example illustrates how a zero block before the bar retains its place value. \[ \begin{array}{r@{\qquad}l@{\qquad}l} \text{Value} & \text{Fractional blocks} & \text{Iteris numeral}\\ \hline 1/6 & \mathtt{1666}\;\overline{\mathtt{6666}} & \IterisPeriodic{0}{1666}{6666}\\[4pt] 1/7 & \overline{\mathtt{1428}\;\mathtt{5714}\;\mathtt{2857}} & \IterisPeriodic{0}{}{1428,5714,2857}\\[4pt] 1/30000 & \mathtt{0000}\;\overline{\mathtt{3333}} & \IterisPeriodic{0}{0000}{3333}\\[4pt] -3.14159 & \mathtt{1415}\;\mathtt{9000} & -\IterisDecimal{3}{1415,9000} \end{array} \] \begin{corollary}[Block period lengths] \label{cor:cycles} Assume \(M>1\) in Theorem~\ref{thm:rational} and put \(L=\ord_M(10)\). One block cycle spans \(4\ell=\operatorname{lcm}(4,L)\) decimal digits. It occupies one node exactly when \(M\mid 9999\), and at most two nodes exactly when \(M\mid 10^8-1\). For a prime \(p\nmid 10\), the block period of \(1/p\), measured in base-\(B\) blocks, divides \((p-1)/\gcd(p-1,4)B\) denote the sizes of the majority and minority classes. In an open order, the minority vertices separate the majority vertices into at most \(B+1\) runs. At least \(A-B-1=2^m-1\) consecutive pairs therefore have both words in the majority class, so each of those pairs costs at least two strokes. Each other step costs at least one stroke. This gives the open bound and rules out a one-stroke order. The same argument gives at most \(B\) majority runs in a cyclic order, so at least \(2^m\) of its steps cost at least two strokes. For a matching construction, use the one-stroke path \[ P=(1,5,4,0,2,8,9,7,6). \] It visits every digit except \(3\), which is at distance two from both endpoints. Partition the words into groups indexed by the set \(T\) of positions with digit \(3\). The free coordinates in each group are copies of \(P\). Within each group, we use a reflected ordering of the free coordinates, as in the standard generation of tuples \cite[Section~7.2.1.1]{knuth4a}. Each such grid has a one-stroke traversal from the corner with all free digits \(1\) to the corner with all free digits \(6\). For no free coordinates the traversal visits only one word. Otherwise, inductively traverse the nine slices of the first free coordinate in path order, alternating between the traversal of the remaining coordinates and its reverse. Consecutive slices meet at the same corner in those coordinates, because by induction the traversal of the remaining coordinates ends at their all-\(6\) corner and its reverse starts there. Since \(P\) has nine vertices, an odd number, the traversal ends at the all-\(6\) corner. List the groups in binary reflected Gray order of the masks for \(T\), starting with \(T=\varnothing\). The order is obtained recursively by prefixing \(0\) to the previous list and \(1\) to its reversal. Consecutive masks, including the closing pair, differ in one bit. Index the groups by \(r=0,\ldots,2^m-1\) in this Gray order. Traverse even-indexed groups from the all-\(1\) corner of their free coordinates to the all-\(6\) corner, and odd-indexed groups in reverse. For the singleton group \(T=\{1,\ldots,m\}\), both corner descriptions denote the same word \((3,\ldots,3)\). At a join from an even index to an odd index, the outgoing and incoming corners both use \(6\) on their free coordinates. At a join from an odd index to an even index, both use \(1\). The closing join is of the latter kind because \(2^m\) is even. The masks differ in exactly one coordinate, where a \(3\) is exchanged with the corresponding endpoint digit. This costs two strokes since \(d_G(3,1)=d_G(3,6)=2\). At either join incident to the singleton, there are no common free coordinates to match, so the same cost calculation applies. The open order has \(10^m-2^m\) internal steps of cost one and \(2^m-1\) joins of cost two. The cyclic order adds the closing join of cost two. These costs attain the respective lower bounds. \end{proof} For one node the optimal open order uses \(9{,}984\) steps of cost one and \(15\) of cost two, a total of \(10{,}014\). The optimal cyclic order costs \(10{,}016\). Numerical order uses \(19{,}986\) strokes from \(0000\) through \(9999\). \paragraph{Reassigning the glyphs to decimal digits.} Keeping the bare stem at zero, the same ten stroke sets admit \(9!\) assignments to the digits. By Theorem~\ref{thm:gray} with \(m=1\), the minimum closed digit tour cost is \(12\). The adopted assignment costs \(18\). Of the \(362{,}880\) assignments, \(18{,}192\), or about \(5.01\%\), cost less than \(18\). To reproduce the count, enumerate permutations \(\pi\) of the digits with \(\pi_0=0\) and sum the ten distances \(\lvert S(\pi_i)\mathbin{\triangle}S(\pi_{(i+1)\bmod 10})\rvert\) from Table~\ref{tab:strokes}. The two orientations are counted separately. The tour cost \(T\) governs the counting cost only to leading order. By the argument of Corollary~\ref{cor:cost}, position \(i\) contributes \(T\cdot10^{m-i-1}-d_G(\pi_9,\pi_0)\), so the exact total also depends on the closing distance. \section{Discussion and reproducibility} The arithmetic distance and the stroke distance answer different questions about the same numerals. A large change in value may alter one stroke, and the cost of a unit increment depends on which digits carry. The graph makes this behavior explicit for the adopted set of shapes. For a different stroke table, the isometry and local costs can be tested again. The project repository contains the core specification, a reference SVG, and a browser demonstration with exact examples of recurring decimals \cite{iteris}. At the cited revision, the \texttt{paper/} directory contains \texttt{check\_iteris\_paper.py} for Sections~\ref{sec:edit-graph}--\ref{sec:optimal-order} and \texttt{iteris.sty} for the worked examples. The script uses the Python standard library and checks the digit graph, the carry and traversal results for widths \(1\) through \(4\), and all \(9!\) assignments with zero fixed. Run it with \texttt{python paper/check\_iteris\_paper.py} from the repository root. The companion script \texttt{paper/iteris\_extra\_checks.py} checks Section~\ref{sec:canonical}, verifying Theorem~\ref{thm:rational} for every denominator \(q<4000\) and the canonical-form conditions by enumeration in small bases. The results in this paper cover exact positional representation and a discrete edit metric. How readily people learn or transcribe the glyphs, and how robustly software reads them from images, are questions for separate evaluations. \paragraph{AI assistance.} The author used AI tools in preparing this work. Gemini 4 Neon was used to explore the notation and its graph interpretation, and it proposed the limiting variance calculation. Claude (Fable 5.2 and Opus 5.5) was used to check the first draft independently; Claude Fable 5.2 proposed the syntactic characterization and the optimal stroke ordering, and Claude Opus 5.5 commented on publication venues and on the Deep Review report. Grok Bot was used to review the second draft, and it suggested clarifications to the definitions, parity classes, and period bounds. ChatGPT 6.2 Sol Ultra was used for proof checks, drafting, and \LaTeX{} preparation. The author takes full responsibility for all content. \begin{thebibliography}{99} \bibitem{king} David A. King. \emph{The Ciphers of the Monks: A Forgotten Number-Notation of the Middle Ages}. Boethius 44. Franz Steiner Verlag, Stuttgart, 2001. \bibitem{miller} Kirk Miller. Background for Unicode consideration of Cistercian numerals. Unicode Technical Committee document L2/20-290, 10 December 2020. \url{https://www.unicode.org/L2/L2020/20290-cistercian-digits.pdf}. \bibitem{spratte} Jonathan P. Spratte. \texttt{xistercian} Cistercian numerals in \LaTeX, version 1.3, 2025. \url{https://ctan.org/pkg/xistercian}. \bibitem{weisstein} Eric W. Weisstein. Cistercian numerals. \emph{MathWorld---A Wolfram Web Resource}. \url{https://mathworld.wolfram.com/CistercianNumerals.html}. Accessed 25 November 2026. \bibitem{djokovic} D.~\v{Z}. Djokovi\'c. Distance-preserving subgraphs of hypercubes. \emph{Journal of Combinatorial Theory, Series B}, 14(3):263--267, 1973. \url{https://doi.org/10.1016/0095-8956(73)90010-5}. \bibitem{savage} Carla Savage. A survey of combinatorial Gray codes. \emph{SIAM Review}, 39(4):605--629, 1997. \url{https://doi.org/10.1137/S0036144595295272}. \bibitem{hardywright} G.~H. Hardy and E.~M. Wright. \emph{An Introduction to the Theory of Numbers}. 6th ed., revised by D.~R. Heath-Brown and J.~H. Silverman. Oxford University Press, 2008. \bibitem{knuth2} D.~E. Knuth. \emph{The Art of Computer Programming, Vol.~2: Seminumerical Algorithms}. 3rd ed., Addison-Wesley, 1997. \bibitem{knuth4a} D.~E. Knuth. \emph{The Art of Computer Programming, Vol.~4A: Combinatorial Algorithms, Part~1}. Addison-Wesley, 2011. \bibitem{mutze} Torsten M\"utze. Combinatorial Gray codes---an updated survey. \emph{The Electronic Journal of Combinatorics}, Dynamic Survey DS26, first published 2023, version of 20 September 2024. \url{https://doi.org/10.37236/11023}. \bibitem{iteris} Patricio M. Vera. Iteris Core v1.0, draft specification and reference implementation. \url{https://github.com/patriciomvera/Iteris}, revision \href{https://github.com/patriciomvera/Iteris/tree/65edae60e66ead237e6f260b7f447b20bba92528}{\texttt{65edae6}}. \end{thebibliography} \end{document}