TOPICS
Search

Finite k-Adic Complexity


The finite k-adic complexity of a string of digits in base k measures the smallest rational number height needed to extend that string as a k-adic expansion. For integers k>=2 and N>=1, represent the string by

 s=sum_(j=0)^(N-1)s_jk^j,
(1)

where s_j in {0,...,k-1} and s_0 is the least significant digit. Define

 R_(k,N)(s)=min_(a=sd (mod k^N), d>0, gcd(d,k)=1)max(|a|,d),
(2)

where a and d are integers. The finite k-adic complexity is

 L_(k,N)(s)=log_kR_(k,N)(s).
(3)

The condition on the greatest common divisor makes d invertible modulo k^N, and the congruence fixes the first N digits. The logarithm is unrounded. For k=2, this is finite 2-adic complexity. For composite bases, the definition still uses congruence modulo k^N and does not assume that the base is a prime number.

For uniformly chosen strings, the expectation value is

 E_(k,N)=k^(-N)sum_(s=0)^(k^N-1)log_kR_(k,N)(s).
(4)

Babanskyy (2026) reported the uniform bound

 E_(k,N)<N/2+0.241933621228105
(5)

for every integer k>=2 and N>=1. The same work claims E_(k,N)<=N/2 when k is a prime power and E_(k,N)<N/2 when k has exactly two distinct prime factors. In contrast, E_(30,2)>1, so the bound N/2 does not hold in every base. The optimal additive constant remains unknown.

The author reports OpenAI GPT assistance with the mathematics and software. As of Oct. 15, 2026, independent specialist review of the written reductions and infinite estimates, and independent reproduction of the complete computational certificates, had not been reported. No Lean formalization was supplied. These statements concern the unrounded rational complexity, not a rounded register length (Babanskyy 2026).


See also

Base, Congruence, Finite 2-Adic Complexity, Rational Number

Explore with Wolfram|Alpha

References

Babanskyy, O. "Mean Rational Complexity in Integer Bases: A Uniform Bound and a Two-Prime Theorem." 2026. https://aixiv.online/abs/2610.01413v1.Lin, H.; Xiao, L.; and Chen, Z. "A Brief View on the Linear and 2-Adic Complexities of Pseudorandom Binary Sequences." AIMS Math. 11, 20267-20290, 2026. https://doi.org/10.3934/math.2026823.

Cite this as:

Weisstein, Eric W. "Finite k-Adic Complexity." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Finitek-AdicComplexity.html

Subject classifications