A Positional Notation of Integers and Rationals Based on Prime Factorization

Let denote the primes, i.e.
,
The fundamental theorem of number theory, as proved e.g. in (Gauss, 1870), tells us that each integer can be represented as a unique product of primes. Let us represent integers as infinite lists we call prime vectors.
Definition 3 For, we have
, where
. Define a prime vector as an infinite ordered list
that represents an integer. We write
and
to map between these two representations. The space of prime vectors is denoted with
![]()
Lemma 4 The prime vectors represent all natural numbers in a unique way, i.e.is a one to one correspondence between
and
.
Definition 5 We can extend the definition to all rational numbers: For, we have
with
. Let us call this representation of the rational numbers
.
Lemma 6 The prime vectors inrepresent all rational numbers in a unique way, i.e.
is a one to one correspondence between
and
.
Definition 7 For notational convenience we write for prime vectors with infinitely repeated valuessimply
or
.
Remark 1 We may augment the setby
, which is the infimum for any
. We define
.
Definition 8 We now define an operator onas follows:
![]()
Lemma 9 Letand
for
. Then
![]()
Remark 2 It is much easier to multiply numbers if we code them as prime vectors.
Lemma 10 For,
.
Remark 3 We can obviously associatewith the natural number
.
Lemma 11is a group with the neutral element 0.
Definition 12 Addition of two prime vectorsand
: Let
and
, then
![]()
Remark 4 A hard question is to define addition of two numbers in.or
using their representation in
. Further details on this question can be found in the “Prime Clockwork” article (Emmerich, 2024). There we define a successor function for a prime vector and also discuss addition of prime vectors and the role of congruences (moduli).
To include negative integers is relatively straightforward by just allowing prime vectors to have either a positive or a negative sign. The framework can also be extended in a rather straightforward manner to algebraic numbers by scalar multiplication of prime vectors by fractional exponents, but we leave a detailed elaboration to the future work.
Acknowledgement: I greatfully ackknowledge a discussion I had with Matti Eskelinen (homepage), in which much of the content of this article was developed.
Gauss, C. F. (1870). Disquisitiones arithmeticae (Vol. 1). Königliche Gesellschaft der Wissenschaften zu Göttingen.
Michael Emmerich: Prime Clockwork. published online August 15th 2024.