Powers of Two Pattern
Discovery: A Hidden Pattern in Powers of 2
When the digits of powers of 2 are colored and aligned to the right, a surprising pattern emerges: the last few digits of 210n+1 match those of 210n. As n increases, the agreement extends to more digits. For example, the 1st, 10th, 100th, 1000th rows all show stabilizing last digits. This suggests that in some sense the numbers 210n are converging — not in the usual real-number sense (they diverge to infinity), but in a different notion of closeness based on last digits.
Key insight: The sequence 210n is converging to a specific infinite leftward-digit pattern, which turns out to be a 10-adic integer — not infinity.
The Real Numbers: A Quick Reminder
The real numbers have several desirable properties:
Picture as a number line: points with order.
Contain all integers and rational numbers.
Support addition, subtraction, multiplication, and division (except by zero).
Complete: every Cauchy sequence converges (no holes).
But real numbers are not the only game in town. Alternatives exist with similar properties, and some even contain square roots of −1.
The 10-adic Absolute Value: A New Notion of Size
To understand the pattern, define a new absolute value. For an integer, find the highest power of 10 that divides it. Then:
10-adic absolute value: ∣n∣10=10k1, where k is the largest exponent such that 10k divides n.
(For n=0, define ∣0∣10=0.)
Examples:
78000 is divisible by 103 but not 104, so ∣78000∣10=1/1000.
1,000,000,000 is divisible by 109, so ∣1 billion∣10=1/109 — a tiny number!
Under the 10-adic metric, two numbers are close when their last several digits agree. Thus, 1 billion is close to 0 because they share 9 trailing zeros. This is completely different from the usual number line distance, where 1 billion is far from 0.
10-adic Integers
A 10-adic integer is an infinite sum to the left:
where each digit di is an integer from 0 to 9. Every ordinary integer is a 10-adic integer (by padding with zeros to the left). The limit of 210n is a specific 10-adic integer with digits 6,7,3,9,… (from rightmost outward).
Alternatively, write the sum with negative exponents:
This looks similar to usual decimal expansions, but the digits extend infinitely to the left rather than to the right.
No 10-adic Number Line
Because many different 10-adic integers can have the same size (e.g., 78000 and 35000 both have size 1/1000), there is no notion of "greater than" or "less than." There is no 10-adic number line, no positive/negative ordering.
Arithmetic with 10-adic Integers
Addition and subtraction work exactly like ordinary integer arithmetic, but carried digits propagate infinitely to the left.
Example: Consider the 10-adic integer …999 (all 9s). Add 1:
Each digit: 9+1=10 → write 0, carry 1. This continues forever, yielding all zeros. Therefore:
…999=−1 in the 10-adic integers.
All negative integers are already represented without a minus sign.
Multiplication also works. Example: The 10-adic integer …6667 (a 7 followed by all 6s) multiplied by 3 gives 1. Hence:
…6667=31.
Some rational numbers appear, but not all: 1/300 is not a 10-adic integer because its denominator includes a factor of 10. It becomes a 10-adic number (finitely many digits to the right of the decimal point).
The Problem with Base 10: Zero Divisors
The limit x=limn→∞210n satisfies x2=x (check the first few digits manually). Thus:
Neither x nor x−1 is zero. This means the 10-adic integers have zero divisors — nonzero elements whose product is zero. Consequently, division is not always defined: attempting to divide by x leads to a contradiction (x=1). So the 10-adic numbers do not support full division.
p-adic Numbers: The Prime Fix
Replace the base 10 with a prime number p. Then the p-adic numbers do support division (except by zero). The reason: for a prime p, the numbers 2,3,…,p−2 pair up so that each product is 1 more than a multiple of p — no zero divisors appear.
Definition of p-adic absolute value: ∣n∣p=p−k where pk is the highest power of p dividing n.
Properties of p-adic Numbers
Contain all integers
Support addition, subtraction, multiplication
Support division (since p is prime) — they are a field
Contain all rational numbers
Complete: no holes (the p-adic metric is complete)
They cannot be ordered on a number line, and there is no notion of positive/negative.
Key difference from reals: p-adic closeness is based on divisibility by powers of p, not on usual distance.
Examples of Convergence in p-adic Numbers
5-adic Limit: Square Root of -1
Consider 25n in base 5. The sequence converges to a 5-adic integer x. From x5=x and factoring x5−x=x(x−1)(x+1)(x2+1)=0, and since x=0,1,−1, we must have x2+1=0. Thus:
x2=−1 in the 5-adic numbers. The limit limn→∞25n is a square root of -1.
This is impossible in the real numbers.
2-adic Example: Square Roots of −53
The sequence of Fibonacci numbers F2n does not converge 2-adically, but taking every other row (e.g., F2, F4, F8, ...) does converge to two 2-adic integers that are the square roots of −53.
Square Roots of -1 in Different p-adic Systems
2-adic numbers: No square root of -1. Attempt: last digit must be 1, but second-to-last digit cannot satisfy the equation.
3-adic numbers: No square root of -1.
5-adic numbers: Yes, as shown above.
In general, the p-adic numbers contain −1 precisely when p≡1(mod4) (a classic result from quadratic residues).
Application: Divisibility Problems with Newton's Method
Problem: Find integers n such that n2+7 is divisible by a high power of 2.
In base 2, high divisibility by 2 means many trailing zeros in the binary representation — i.e., n2+7 is close to 0 in the 2-adic metric. We want n to approximate a solution to n2=−7, i.e., a square root of -7 in the 2-adic numbers (which exist).
Apply Newton's method to f(x)=x2+7, iteration:
Starting with x0=1, we get:
x1=−3
x2=−31
x3=331
…
In the real numbers, this diverges. But in the 2-adic numbers, the sequence converges. Truncating the resulting 2-adic integer gives an integer n; indeed n2+7 is highly divisible by 2.
p-adic numbers let us use calculus tools (limits, continuity, derivatives) to solve integer divisibility problems in ways not possible with real numbers alone.
Summary: p-adic vs Real Numbers
Property | Real Numbers | p-adic Numbers (p prime) |
|---|---|---|
Ordered number line | Yes | No (no positive/negative) |
Contains integers | Yes | Yes |
Contains rationals | Yes | Yes |
Addition, subtraction, multiplication | Yes | Yes |
Division (except by 0) | Yes | Yes |
Contains −1 | No | For some primes (e.g., p=5) |
Geometric intuition | Distance on line | Divisibility by powers of p |
Limits | Based on usual distance | Based on trailing digits |
Completeness | Yes | Yes |
The p-adic numbers provide a powerful alternative number system that captures arithmetic properties determined by a prime p, opening doors to number theory, diophantine equations, and deeper mathematical structures.

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