arXiv:2609.03896math.HOSep 2026

Manuscript Offprint

arXiv:2609.03896

The Prime Clockwork: A Dynamic Representation of Modular and Multiplicative Arithmetic

Michael T. M. Emmerich

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

The way numbers are represented strongly influences which arithmetic structures are easy to see. The prime clockwork is a recursively growing discrete dynamical system: a list of autonomous two-hand clocks driven by one common +1 signal. No primes or primality labels are supplied. Starting empty, the process appends a clock of period n whenever none already present rings; the primes are generated internally as its growth times. For each installed prime p, the seconds reading RpR_p advances through 0,…,p−10, \ldots, p - 1, and each return to zero increments the minutes reading MpM_p, which counts completed p-cycles. The hands use only increment, comparison, reset, and carry, without explicit mod or div operations.

At time nn, n=pMp(n)+Rp(n)n = pM_p(n) + R_p(n). The valuation readout Vp(n)=νp(n)V_p(n) = \nu_p(n) is generated locally: it is zero when the pp-clock does not ring; when it rings, the readout is one plus the earlier valuation indexed by the current minutes reading. The valuation trajectory has no repeated row; this reconstructs each integer in unique prime-factorized form. Its coordinates add and subtract under multiplication and division, representing every positive rational uniquely; divisibility becomes weak componentwise order, and unique factorization is natural in this representation. Finite seconds arrays form Cartesian-product state spaces whose common orbit visits every joint state once before repeating; this grand cycle is the order-sensitive dynamical counterpart of the Chinese remainder theorem. The same coordinates expose gcd, lcm, perfect powers, B'ezout's identity, and Euler's totient. Rational valuation levels reach certain positive algebraic irrationalities, but not algebraic numbers in general.

Keywords. modular arithmetic; discrete dynamical systems; Chinese remainder theorem; prime generation; prime vectors; p-adic valuations; unique factorization; Euler totient; visual mathematics.

“We are not trying to meet some abstract production quota of definitions, theorems and proofs. The measure of our success is whether what we do enables people to understand and think more clearly and effectively about mathematics.”

—William P. Thurston, On Proof and Progress in Mathematics [12, p. 163]

1 Introduction

Elementary number theory is usually presented through several complementary languages: divisibility, congruences, prime factorization, arithmetic functions, and valuations. The prime clockwork asks whether these familiar structures can be organized in one prime-indexed representation before the usual algebraic machinery is brought fully into view.

The construction is intentionally elementary. It begins with no supplied primes and advances only by a common +1 signal. Whenever none of the existing clocks rings, the present integer becomes the period of a newly appended clock; the primes are therefore outputs of the recursion rather than parameters.

given to it. Each complete p-clock autonomously updates two hands without consulting any other prime clock: a cyclic seconds reading and an integer minutes reading that counts completed p-cycles. The p-adic valuation is a third, derived readout, computed at ring times from the minutes address and that clock's own earlier valuation history. Globally, however, unique factorization makes the complete valuation vector sufficient to recover the represented integer, every local clock state, and the unique successor state. Remark 14 separates this global determinacy from the direct local updateability of the maintained clock hands. This suggests the language of a discrete dynamical system: there are states, update maps, periods, return times, products of state spaces, hidden variables, and observable events such as a return to a distinguished position.

The motivation is fourfold. First, it is an exploration of number representation: changing coordinates can make different structures visible. Second, it is didactic: the aim is a visual and intuitive route into modular and multiplicative number theory. Third, the clock language suggests alternative proofs of classical facts by using cycles, counting, and state transitions. Fourth, the construction provides a modest bridge to discrete dynamical systems without replacing standard number-theoretic notation.

More specifically, the contribution is a single recursive description in which prime periods are generated rather than supplied, seconds and minutes states are advanced clock by clock without explicitly invoking mod or div, valuations are recovered by local history lookup, their rows are proved non-repeating by descent through minutes addresses, and their coordinates turn divisibility into weak componentwise order and division into subtraction.

The metaphor is kept literal. For each prime pp, the seconds counter advances one position per unit tick and resets after pp positions. Every reset carries one unit to the minutes counter, which records how many pp-cycles have been completed. The valuation νp\nu_{p} is not the minutes reading itself: it is obtained from the ring event, the current minutes value, and the clock's previously generated valuation readings. The two hands form an autonomous successor system; the valuation is its history-dependent multiplicative observation. This distinction will remain in force throughout the paper.

The exposition proceeds from the basic construction to integers, then to rationals and a limited class of algebraic numbers. The closing sections collect what the representation makes visible and position the viewpoint relative to standard theory and earlier clock- and sieve-based expositions.