Benford frequencies for powers of an integer Created 2026-10-05 Updated 2026-10-07
If is an integer with irrational , then the leading digit of has limiting frequency . Indeed the logarithmic fractional parts are the orbit of zero under an irrational rotation of the circle, so everywhere interval frequency under an irrational rotation applies. Thus for , digit seven has frequency .
The map descends to an injective immersion from into the three-dimensional torus. Injectivity follows because an integer difference in with an integer difference in must be zero. Its image is dense by an irrational rotation of the circle, and is tangent to the commuting independent fields and . It is a leaf of a regular foliation, but cannot be an embedded submanifold: in an embedding chart the coordinate plane would be locally closed yet contain a dense ambient subset.
Everywhere interval frequency under an irrational rotation Created 2026-09-24 Updated 2026-09-28
Every orbit of an irrational rotation of the circle visits a half-open interval with limiting frequency equal to its length. One proof sandwiches the orbit of an arbitrary point between inner and outer intervals along a nearby orbit for which the Birkhoff ergodic theorem holds.
The local flow of is the smooth map , where is the maximal open domain of initial-point/time pairs, whose curve is the maximal integral curve of a vector field through , with . Smooth dependence in the ordinary differential equation theorem gives joint smoothness and openness of . Each time slice is a diffeomorphism between its domain and image, with inverse .
Here is the group law, including its domain qualification. Fix where the relevant trajectories exist. Both curves
solve the same autonomous ordinary differential equation and have value at . The uniqueness from the first part therefore gives
on their common interval. These are local identities; neither the vector field nor its local flow has been assumed complete.
For the commuting local flows and , differentiate with respect to at zero. The chain rule gives
Thus the pushforward of a vector field by the flow equals . Interchanging the two fields gives the analogous identity for under .
Now let . Pointwise linear independence makes this a rank-two smooth distribution. The identity just proved implies : in coordinates, differentiating at gives , precisely the vanishing Lie bracket of vector fields. The bracket of two local sections is also in , since
and the analogous terms for and remain in the same span. Therefore is an involutive distribution.
The Frobenius theorem says that a smooth constant-rank involutive distribution has local coordinates in which it is spanned by , and has unique maximal connected integral manifolds through its points. These are the leaves of a regular foliation. Let be the maximal leaf through . The global confinement to an immersed leaf gives the answer: is a two-dimensional immersed integral manifold and every smooth -tangent curve starting at stays in .
For the curve assertion, in each Frobenius chart the transverse coordinate functions have zero derivative along such a curve. Hence its segment in that chart stays in one plaque. On any compact subinterval of the curve's parameter interval, a finite chain of overlapping such segments connects the initial plaque to the last; all belong to the same maximal leaf. Exhausting the parameter interval proves the assertion for every time.
The two commuting local flows also give the leaf parametrization directly near :
Its partial derivatives are and , by the pushforward identity. Its differential has rank two. The constant rank theorem makes a sufficiently small image an embedded local plaque with tangent plane . This is a concrete local construction of the integral manifold.
There is a global distinction in the word “submanifold”. If it is required to mean an embedded submanifold, the assertion for all times is not valid in general. On the three-dimensional torus , take
The fields are independent and commute, and their dense immersed cylinder in a three-dimensional torus through zero is
It is an injectively immersed cylinder and is dense in the torus. Indeed, fixing and varying by integers makes dense by an irrational rotation of the circle; is unrestricted. Every point of this leaf is reached by a tangent curve . An embedded surface containing it would, in a submanifold chart near one of its points, be a closed coordinate plane containing a dense subset of the ambient open chart, an impossibility. Thus the global conclusion uses an immersed leaf; the embedded conclusion is local, for curve segments remaining in a suitable chart.
Use probability measure-preserving systems: is measurable and . Its invariant sigma-algebra is
Ergodicity means that every invariant measurable set has measure zero or one:
Equivalently, every invariant measurable function is constant almost everywhere. Indeed all rational sublevel sets of a real invariant function belong to , so the zero-or-one alternative forces its distribution to concentrate at one value. Apply this to real and imaginary parts for complex functions. Conversely, an invariant set has an invariant indicator, so the function criterion implies the set criterion. This is the invariant-function characterization of ergodicity.
For an irrational rotation of the circle, with , an invariant has Fourier coefficients satisfying
For the multiplier is nonzero. Completeness of the Fourier series basis therefore makes constant. Apply this to an invariant indicator to prove the irrational rotation is ergodic. A second example is the cyclic permutation of points with equal masses: a nonempty invariant set contains the whole cycle and hence has measure one.
The identity on with Lebesgue measure is not ergodic, since is invariant and has measure . Nor is rotation by on the circle: the set
is invariant and has measure . These examples also show why preservation of measure does not imply ergodicity.
Let be the Koopman operator, , and set
The Von Neumann mean ergodic theorem says that, for , these Cesaro averages converge in to the orthogonal projection onto the invariant functions:
For an invertible system, is a unitary operator. The Hilbert-space theorem states more generally that the Cesaro averages of any unitary operator converge strongly to its fixed-space projection.
Here is the requested invertible-case proof. Since ,
Thus the orthogonal decomposition for unitary ergodic averages is
On the first summand, . On a vector , telescoping gives
Because , approximation extends this convergence to the closure of the range. The orthogonal decomposition now proves the theorem for every . An invariant function is -measurable, and an -measurable function is invariant by approximation with indicators; hence the projection is the stated conditional expectation.
In an ergodic system, invariant functions are constants by the criterion already proved. Their orthogonal projection is obtained by taking the inner product with , whose norm is one. Therefore the ergodic limit is the space average:
The Birkhoff ergodic theorem states that, for ,
The limit is invariant, integrable, and has the same integral as . On a probability space convergence also holds in . In an ergodic system the limit is almost everywhere.
For the topological sharpening, take a continuous map on a compact metric space. Unique ergodicity means there is exactly one invariant Borel probability measure . The uniform ergodic convergence for uniquely ergodic systems says that every continuous real or complex satisfies
Thus convergence holds at every point and uniformly in that point. The continuity, compactness and continuous-observable hypotheses belong to this theorem; it is not a claim of uniform convergence for all measurable functions.
The Szemerédi theorem says that for every integer and every , there is such that, for , every with contains a nonconstant arithmetic progression
Equivalently, every subset of the positive integers with positive upper asymptotic density contains arithmetic progressions of every finite length. Length one is immediate.
The Furstenberg multiple recurrence theorem states that for every probability measure-preserving system, every measurable with , and every integer , there is with
Here means a preimage, so invertibility is unnecessary. The Furstenberg multiple recurrence theorem also does not assume an ergodic transformation.
We prove the implication to the finite Szemerédi theorem by constructing the Furstenberg correspondence principle explicitly. Suppose, to the contrary, that for fixed and there are and with , but with no length- arithmetic progression of positive common difference. In the binary full shift , encode as , taking all coordinates outside to be zero. Let be the left shift, , and set
The cylinder set is a clopen set, and . The binary full shift is a compact metric space, so compactness of probability measures on a compact metric space gives a subsequence of these empirical measures with weak convergence of probability measures to a Borel probability measure .
For every continuous on the full shift,
Passing to the weak limit shows that is an invariant measure for the continuous left shift. Thus is a probability measure-preserving system. Since the indicator function of is continuous, .
Apply the Furstenberg multiple recurrence theorem to . For some , the clopen set
has . Its continuous indicator function gives . For large , at least one in the defining empirical measure therefore belongs to . The choice of left shift implies
so lies in . This contradicts the assumed absence of arithmetic progressions and proves the finite Szemerédi theorem. Applying the finite Szemerédi theorem on intervals where an infinite set has density bounded below proves the stated upper asymptotic density formulation.
For multiple recurrence for circle rotations, write and , with normalized Lebesgue measure , which is the Haar measure of the circle group. Fix a measurable with and . If is rational, there is with the identity, and gives an intersection of measure .
For irrational , the pigeonhole principle applied to in equal arcs gives with . In particular there are arbitrarily small nonzero returns to zero for the irrational rotation of the circle.
We also need translation continuity in L1 on the circle. Given a measurable , approximate its indicator function in the L1 norm by a continuous on the circle group. Such approximation follows from regularity of Lebesgue measure, or approximation by finite unions of intervals. Translation invariance and uniform continuity give
where the approximation error is first made arbitrarily small. Equivalently, .
Choose a return time so small modulo one that for each ,
This is possible because multiplication by each fixed is continuous on the circle group and translation continuity in L1 on the circle applies to the finitely many translates. The union bound now gives
This proves the Furstenberg multiple recurrence theorem for every circle rotation with its normalized Lebesgue measure, including both rational and irrational angles.
For an irrational rotation of the circle, let on , and let be any invariant Borel probability measure. For each integer , set . Invariance gives
For , irrationality forces , so the corresponding Fourier coefficient is zero. For it is one. These are exactly the Fourier coefficients of normalized Lebesgue measure . By the Stone-Weierstrass theorem, trigonometric polynomials are uniformly dense in the continuous functions on the circle group; hence and integrate every continuous function equally and are the same Borel probability measure. Since is invariant, the irrational rotation of the circle is uniquely ergodic, with unique measure .
For the irrational skew shift on the two-dimensional torus, write
The map is invertible, with modulo one, and it preserves as allowed in the question. We first prove the ergodic transformation property by the invariant-function characterization of ergodicity.
Let satisfy . Its expansion in the Fourier basis is in . Direct calculation of the Koopman operator gives
Uniqueness of the Fourier coefficients therefore implies
For , the magnitudes of the Fourier coefficients along all distinct indices , , are equal. By the Bessel inequality they are square summable, so every such coefficient must be zero. When , the relation becomes , which forces for . Only remains. Thus every invariant function is constant, and
To prove unique ergodicity, we will establish uniform averages for every continuous function directly. No theorem on unique ergodicity of skew products is needed. Induction on , using the old first coordinate in the second coordinate of , yields
In particular, for a Fourier basis element,
If and , this is a geometric series in , and
uniformly in .
For , we give the finite Van der Corput inequality for finite scalar sequences and its proof. For , extend by zero outside . Fix an integer and set . Every original summand appears times in the identity
The Cauchy-Schwarz inequality, followed by expansion of the squared window sums, gives
Consequently the Van der Corput inequality for finite scalar sequences is
The finite prefactor is important; the order of limits will be with fixed, followed by .
For the irrational skew shift character sequence above, differencing cancels the quadratic term:
For every fixed , is irrational, so another geometric series estimate gives
uniformly in . With fixed , the Van der Corput inequality for finite scalar sequences therefore implies
Letting proves that the averages of every nonconstant Fourier basis element converge uniformly to zero. The constant character has average one. This establishes uniform equidistribution of an irrational skew shift on all trigonometric polynomials.
The Stone-Weierstrass theorem makes these trigonometric polynomials uniformly dense in . If approximates a continuous with , then
Taking and then proves uniform convergence to for every continuous .
Finally, if is any invariant Borel probability measure for the irrational skew shift, invariance and this uniform convergence give
Thus , since continuous functions determine Borel probability measures on a compact metric space. We conclude
The uniform-average proof also shows that every starting point has the same limiting continuous-function averages, a stronger conclusion than the almost-everywhere assertion provided by the pointwise ergodic theorem.
A continuous transformation of a compact metric space is uniquely ergodic when there is exactly one -invariant Borel probability measure on . We use the usual compact-space convention for unique ergodicity; the compactness and continuity hypotheses matter in the assertion about all starting points.
Let on the circle group, with irrational. Normalized Lebesgue measure is invariant under this irrational rotation of the circle. If is any invariant Borel probability measure, define its Fourier coefficients by . Invariance gives
For , irrationality makes , so ; also . These are the Fourier coefficients of . Hence and have the same integrals against every trigonometric polynomial. Such polynomials are uniformly dense in the continuous functions by the Stone-Weierstrass theorem, so the measures agree on every continuous test function and therefore agree as Borel measures. Thus
For the general uniquely ergodic system, fix and form the empirical measures
On a compact metric space, the Borel probability measures are compact for weak convergence of probability measures. Any subsequential limit is invariant: for every continuous ,
Here is bounded and is continuous, so the identity passes to the limit. Uniqueness of the invariant Borel probability measure gives . Every subsequential limit is therefore , and compactness implies convergence of the entire sequence. Testing against proves
In fact this proves uniform ergodic convergence for uniquely ergodic systems: if convergence were not uniform in , choose and where the discrepancy stays above a fixed positive number. The same compactness and telescoping argument applied to forces a subsequence to converge to , a contradiction. This also makes clear why an almost-everywhere Birkhoff ergodic theorem alone would not establish the requested everywhere assertion. Without the compact-space hypothesis the assertion need not hold: on the discrete space , set and . The only invariant probability is , but the continuous bounded function which is zero at and one on the integer orbit has orbit average one there.
For the decimal application put . This is irrational: if with positive integers , then , contradicting unique prime factorization. Writing with and gives . Its leading decimal digit is seven exactly when
The half-open upper endpoint correctly excludes powers whose leading digit is eight, including .
The indicator of is not continuous, so an extra step is needed. For any , choose continuous functions on the circle with and , by tapering in small neighbourhoods of the two endpoints. Applying the everywhere averaging result to these functions traps the lower and upper limits of the interval frequency between their integrals. Letting proves everywhere interval frequency under an irrational rotation. Consequently
This is the leading-seven case of Benford frequencies for powers of an integer.
Let with irrational . This irrational rotation of the circle preserves Lebesgue measure and is ergodic. Apply the Birkhoff ergodic theorem to the indicator function . Its limit
is invariant, hence almost everywhere constant by ergodicity. Its integral must equal that of , so the constant is . Therefore
for Lebesgue measure-almost every .
Write the interval as , where , to avoid confusing its left endpoint with the rotation parameter . For every sufficiently large integer , define an inner and outer interval on the circle by
Apply part (b) simultaneously to this countable collection of intervals. The intersection of the corresponding full-measure sets still has full Lebesgue measure, and is therefore dense in the circle.
Fix an arbitrary . For each sufficiently large , choose with circle distance less than from . An irrational circle rotation preserves this distance, so for every ,
Averaging and using part (b) for gives
Letting proves the everywhere interval frequency under an irrational rotation:
Unique ergodicity 2026-10-05
A continuous self-map of a compact metric space is uniquely ergodic when it has exactly one invariant Borel probability measure. An irrational rotation of the circle is uniquely ergodic: invariance multiplies its nonzero-index Fourier coefficients by nontrivial phases, forcing those coefficients to vanish. The Stone-Weierstrass theorem then identifies the invariant measure as normalized Lebesgue measure.