9, 99, 999 Converges to -1
Study Notes: Convergence in Alternative Metrics – The 2-adic Distance
This set of notes explores the concept of convergence of sequences using different definitions of distance. While in the usual real numbers a sequence like 9, 99, 999, ... diverges to infinity, adopting a different metric – the 2-adic metric – reveals that this sequence converges to -1. The discussion covers the standard definition of convergence, the properties required of any distance function, and the verification that the 2-adic metric satisfies those properties, culminating in a surprising convergence result.
Standard Convergence in the Real Numbers
The usual definition of convergence for a sequence of real numbers relies on the ordinary Euclidean distance. For a sequence (an) to converge to a limit L, the distance between an and L must approach zero as n increases. In the real numbers, this distance is the absolute value:
Example: Sequence 23,34,45,56,…
The nth term of this sequence is:
Intuitively, as n grows, the numerator and denominator become nearly equal, so the sequence should approach 1. To prove convergence, compute the distance to the proposed limit:
As n→∞, n+11→0. Therefore, n+1n+2→1 in the usual metric.
Key idea: In the real numbers, convergence means the absolute difference between terms and the limit becomes arbitrarily small.
The Problem: A Sequence That Diverges (in the Usual Sense)
Consider the sequence of numbers formed by repeating the digit 9:
The nth term is:
In the standard real metric, ∣an−L∣ grows without bound for any finite L, so the sequence diverges to infinity. However, there exist alternative ways to measure distance that can assign a finite limit to this sequence.
The 2-adic Metric: A New Definition of Distance
The 2-adic metric (a special case of p-adic metrics) provides a different way to measure distance between integers. It is defined as follows:
For two integers x and y,
where m is the largest integer such that 2m divides x−y. In other words, m is the exponent of the highest power of 2 that is a factor of the difference x−y. If x=y, then x−y=0, and by convention d2(x,y)=0 (since every power of 2 divides zero, but we take the "largest" as infinite, leading to 1/2∞=0).
Example: Distance between 100 and 4
Usual distance: ∣100−4∣=96.
2-adic distance:
Compute difference: 100−4=96.
Find highest power of 2 dividing 96: 96=25×3 (since 25=32, 32×3=96).
m=5, so d2(100,4)=251=321.
Thus, in the 2-adic metric, 100 and 4 are very close (distance 1/32), whereas in the usual metric they are far apart.
Definition: The 2-adic distance between two integers is small when their difference contains a large power of 2 as a factor.
Axioms for a Distance Function
In mathematics, any function d:X×X→R (where X is a set) that satisfies three properties is called a metric or distance function:
Positivity:
d(x,y)≥0 for all x,y, and
d(x,y)=0 if and only if x=y.
Symmetry:
d(x,y)=d(y,x) for all x,y.
Triangle Inequality:
d(x,z)≤d(x,y)+d(y,z) for all x,y,z.
These axioms capture the intuitive properties of distance: distances are non‑negative and zero only for identical points; the order does not matter; and going directly from one point to another is never longer than making a detour.
Verification of the Axioms for the 2-adic Metric
We now check that d2(x,y)=1/2m (with m as defined) satisfies the three axioms for integers x,y,z.
Positivity: d2(x,y)=1/2m is a positive real number (since 2m>0). If x=y, the difference is 0, and we define d2(x,y)=0. Conversely, if d2(x,y)=0, then the only way is if m is infinite, which corresponds to x−y=0, so x=y. Hence positivity holds.
Symmetry: x−y and y−x differ only by a sign. If 2m divides x−y, then 2m also divides y−x=−(x−y). The largest power of 2 dividing the absolute difference is the same. Therefore d2(x,y)=d2(y,x).
Triangle inequality: Suppose d2(x,y)=1/2m and d2(y,z)=1/2n. Without loss of generality, assume m≤n (the relevant power for the triangle inequality uses the smaller exponent). Then x−y=a⋅2m and y−z=b⋅2m for some integers a,b (note that 2m divides both differences, even if the actual maximum exponent for y−z might be larger than m). Adding these equations:
x−z=(x−y)+(y−z)=(a+b)⋅2mHence 2m divides x−z. The actual largest power of 2 dividing x−z might be greater than m (if a+b contains extra factors of 2), which would make d2(x,z) smaller than 1/2m. Therefore,
d2(x,z)≤2m1=d2(x,y)(or ≤d2(y,z) depending on which is smaller)More generally, it can be shown that d2(x,z)≤max{d2(x,y),d2(y,z)}, which implies the standard triangle inequality. Thus the triangle inequality holds, often with a much stronger property (the ultrametric inequality).
Since all three axioms are satisfied, the 2-adic metric is a legitimate distance function on the integers.
Important: The 2-adic metric is an ultrametric: it satisfies the stronger condition d(x,z)≤max{d(x,y),d(y,z)}. This is not required by the standard axioms, but it is a consequence of the way the metric is defined.
Convergence of the Sequence of 9s Under the 2-adic Metric
Now we apply the 2-adic metric to the sequence an=10n−1 (the number consisting of n 9s) and the candidate limit L=−1.
First, compute the difference:
The difference is 10n. Factor 10n:
The highest power of 2 dividing 10n is 2n (since 5n is odd). Therefore, the largest exponent m in the definition is n, and the 2-adic distance is:
As n→∞, 2n1→0. Hence the sequence (an) converges to −1 in the 2-adic metric.
Key result: The sequence 9,99,999,… (given by an=10n−1) converges to −1 when distance is measured by the 2-adic metric, because the differences 10n contain increasingly large powers of 2.
This startling conclusion shows that convergence depends crucially on the choice of metric. In the usual real metric the sequence diverges; in the 2-adic metric it converges to a negative integer.
Generalization: p‑adic Metrics
The 2-adic metric is a special case of a p‑adic metric, where p is any prime number. For a fixed prime p, the p-adic distance between two integers x and y is defined as:
where m is the largest exponent such that pm divides x−y. If x=y, dp(x,y)=0.
Properties analogous to those of the 2-adic metric hold: positivity, symmetry, and the ultrametric triangle inequality. The prime p must be prime for the definition to be well‑behaved (e.g., for the product representation of numbers to be unique).
Other sequences and limits
The same idea can be applied to other sequences. For example, a sequence of numbers consisting of repeated digit 8 would involve a different limit (and might not converge at all, depending on the relationship with powers of 2). The limit −1 for the sequence of 9s is not universal; it arises because 10n=2n⋅5n exactly. Finding the limit for a given sequence often requires careful algebraic manipulation and an understanding of the prime factorization of the terms.
Remark: Not every sequence converges in a p‑adic metric. The sequence must be constructed so that the differences an−L contain increasingly large powers of p. The limit L is not arbitrary; it depends on the specific form of the terms.
Summary
Convergence of a sequence is defined relative to a distance function (metric).
The standard metric on the real numbers is d(x,y)=∣x−y∣.
A different metric, the 2‑adic metric, measures distance based on the highest power of 2 dividing the difference.
The axioms of a distance function (positivity, symmetry, triangle inequality) are satisfied by the 2‑adic metric.
Under the 2‑adic metric, the sequence an=10n−1 (numbers made of n 9s) converges to −1 because 10n is divisible by 2n.
This result can be extended to p‑adic metrics for any prime p.
The choice of metric fundamentally changes which sequences are considered convergent and to what limit.

Ask anything
We've read this whole study set, so questions about it get the best answers.