Universal coding of integers (UCI) provides binary codewords for positive integers such that, for every non-increasing source distribution P, the average codeword length stays within K times max{1,H(P)}. The smallest constant K is called the minimum expansion factor of UCI C, denoted CC∗. The optimal minimum expansion factor C∗=inf{CC∗} is the minimum expansion factor corresponding to the optimal UCI. The optimal minimum expansion factor is currently known to lie in the range 2≤C∗≤2.0386. In this paper, we construct a family of one-point plus uniform-tail distributions and prove that, for every universal code, the worst-case ratio is attained by a distribution in this family, so that the family is least favorable for the UCI problem. We further establish an inequality, called the UCI inequality, which plays the same role for UCI as the Kraft inequality does for prefix codes: for any real number B, it decides whether B lies below or above C∗. Through the UCI inequality, we obtain an equivalent definition of C∗. By numerical computation, we determine C∗=2.000124757036101⋯, the first fifteen decimal digits being certified. Once C∗ is known, we can theoretically construct the optimal UCI.
Index Terms
Universal coding of integers, optimal codes, source coding
I. INTRODUCTION
Source coding [1] removes the redundancy of a source so that the average number of bits per source symbol approaches the entropy, which in turn raises the effectiveness and the transmission efficiency of communication systems. To this end, one employs a variable-length code (VLC): every source symbol is assigned a binary word whose length is allowed to vary from symbol to symbol, with frequent symbols receiving short words and rare symbols long ones. When the source distribution P is known, this design task is completely settled—Huffman's algorithm [2] yields prefix codes whose expected length lies between H(P) and H(P)+1 [3].
In practical scenarios where the probability distribution of a discrete memoryless source (DMS) is unknown, Elias [4] introduced the Universal Coding of Integers (UCI), an important class of VLCs for such scenarios. The alphabet that UCI is designed for is countably infinite—the positive integers—and the code is required to work without assuming any statistical knowledge of the source. UCI has been widely applied in various fields, including evolving secret sharing [5], [6], quantized stochastic gradient descent [7], stream processing engines [8], [9], and data deduplication schemes [10], [11].
The universal coding problem considered by Elias [4] is as follows. The source is a DMS whose probability distribution P is defined on the alphabet N={1,2,…} and satisfies P(1)≥P(2)≥⋯ and ∑m=1∞P(m)=1. Such a distribution P is said to be nonincreasing. The entropy H(P) of P is defined as H(P)≜−∑m=1∞P(m)log2P(m). Let PN denote the set of all nonincreasing distributions on N with H(P)<∞. A code C maps each integer m to a finite binary word; the number of bits in that word is denoted LC(m), and the code is required to be prefix-free, which is equivalent to the condition ∑m=1∞2−LC(m)≤1 [12]. The average codeword length under P is defined as AP(LC)≜∑m=1∞LC(m)P(m). Elias [4] defined this code to be universal, in the sense that it must satisfy the following requirements: the average codeword length must remain within a constant factor K of max{1,H(P)} no matter which P∈PN is chosen, i.e.,
AP(LC)≤Kmax{1,H(P)}(1)
for all P∈PN. The smallest constant K satisfying Equation (1) is called the minimum expansion factor of C, denoted CC∗ [13], i.e.,
A prefix code or a family of prefix codes, 1 that achieves C∗ is called an optimal UCI.
The early work on UCI can be broadly divided into two categories [15], [16].
Message length scheme: This class of coding schemes encodes a positive integer m into two parts: a suffix that uses s bits to represent m, and a prefix that encodes s. For most codes of this scheme, the design goal is to keep the codeword length LC(m) as short as possible for large m. This scheme were proposed in [4], [17]–[20].
Flag scheme: This class of coding schemes uses a special string as an end-of-codeword flag. The flag scheme enjoys a self-synchronization property in decoding, which stops errors from propagating without bound. This scheme were proposed in [16], [21]–[24].
Recently, Yan et al. [13], [14], [25] have been working on narrowing the range of the optimal minimum expansion factor C∗, with the aim of finding the optimal UCI. In 1975, Elias's work [4] showed that the range of C∗ is 1≤C∗≤3, where the γ code achieves Cγ∗≤3. It was established in [13], [25] that the range of C∗ was narrowed
1For a family of UCIs {Cm}m=1∞, its minimum expansion factor is understood as limm→∞CCm∗.
October 2, 2026 to the interval [2, 2.5]. The lower bound was raised from 1 to 2 mainly because a class of distributions Pn [13] was constructed for an arbitrary UCI code C, regardless of how C is constructed; the construction is as follows.
The upper bound was tightened from 3 to 2.5, mainly because the Wyner's inequality [26]
m=2∑∞P(m)log2m≤H(P)
used by Elias [4] was improved to
m=2∑∞P(m)log2m≤P(1)log2P(1)+H(P),
and the corresponding ι code [25] was constructed. The work in [14] further improved the inequality required for proving the upper bound; the inequality was improved to
where h(x)≜−xlog2x−(1−x)log2(1−x) denotes the binary entropy of (x,1−x), and the corresponding ν code was constructed such that Cν∗≤2.0386. Therefore, the current range of the optimal minimum expansion factor is 2≤C∗≤2.0386. A generalized version of universal coding of integers, closely connected to UCIs, has also been introduced and studied in [27]–[29].
In this paper, we further narrow the upper and lower bounds on C∗ and, in fact, pin down C∗ itself to fifteen certified decimal digits. Since the proof in [14] for tightening the upper bound on C∗ by improving inequalities has already been divided into 13 cases, we do not pursue this direction further. Inspired by the distribution Pn shown in Equation (2), we consider constructing least favorable distributions for any UCI C∈SUCI. In the UCI problem, a family of distributions is said to be least favorable if, for any UCI C∈SUCI, the worst-case ratio AP(LC)/max{1,H(P)} over all admissible P is attained by a member of this family; the attained value is then exactly CC∗. Finally, we prove that C∗=2.000124757036101⋯ and provide the corresponding construction. We summarize the main contributions of this paper as follows.
Inspired by Equation (2), we construct a family of distributions called the one-point plus uniform-tail distributions, and prove that, for all C∈SUCI, the worst-case ratio AP(LC)/max{1,H(P)} is attained by a distribution in this family. These distributions then serve as the starting point for deriving upper and lower bounds for C∗.
In our study of UCI, we establish an important inequality that plays a role analogous to that of the Kraft inequality in the study of prefix codes; we call it the UCI inequality. For any real number B, checking the UCI inequality decides at once whether B is below or above C∗
Using the UCI inequality, we obtain an equivalent definition of C∗. By numerical computation, we determine C∗=2.000124757036101⋯, whose first fifteen decimal digits are certified. Moreover, once C∗ is determined, we have theoretically constructed an optimal UCI.
October 2, 2026
The rest of this paper is organized as follows. Section II introduces the notation and reviews relevant results on the minimum expansion factor of UCI. Section III defines the one-point plus uniform-tail distributions and proves their least favorability for the UCI problem. In Section IV, we introduce and prove the UCI inequality, characterize C∗ equivalently by means of it, and construct the optimal UCI in theory. Section V summarizes this work.
II. PRELIMINARIES
In this section, we introduce the notation used in this paper and present relevant results on the minimum expansion factor of UCI. Table I summarizes the main notations used in this paper.
A. Notations
In this subsection, we first introduce some commonly used notation. Let Uk denote the uniform distribution on {1,2,…,k}, so that H(Uk)=log2k. Let ak≜k1∑n=1kL(n) denote the average codeword length under the distribution Uk. Let Uk denote the uniform distribution on {2,3,…,k}, then the entropy H(Uk)=log2(k−1). Let ak≜k−1∑n=2kL(n) denote the average codeword length under the distribution Uk. The relative entropy between two probability distributions Q and P is defined as
D(Q∥P)≜n∈N∑Q(n)log2P(n)Q(n).(3)
Let X be a random variable on the alphabet N. The notation X∼P means that X is distributed according to the probability distribution P, i.e., Pr(X=n)=P(n) for all n∈N. We extend the standard notation for entropy to random variables in the obvious way: H(X)≜H(P) whenever X∼P. Let X and Y be two random variables on the alphabet N. The conditional entropy H(X∣Y) and the mutual information I(X;Y) are defined as follows.
Since the probability distributions P considered in the UCI problem are nonincreasing, if the average codeword length is to be minimized, the prefix code C must satisfy
LC(m)≤LC(m+1)(5)
for all m∈N. Elias [4] called a code C minimal if it satisfies Equation (5). We adopt the convention that all UCIs considered in the proofs in this paper are minimal. The convention is motivated by the requirement, shared by all results concerning optimal UCIs, that the first codeword has length 1 [25]. Without minimality, a later codeword could have length 1 while the first does not, and some proofs would then need extra conditions. Restricting to minimal UCIs costs nothing: any non-minimal UCI can be turned into a minimal one by permuting its codewords, and, because P is nonincreasing, the average codeword length does not grow under such a permutation.
Moreover, the symbols L(m) and AP(L) may appear in the subsequent proofs in this paper. Here, L(m) still denotes the codeword length of m, and AP(L) still denotes the average codeword length under P. Only the subscript C identifying the code has been dropped: several results below hold for every prefix code C, and the subscript is suppressed for notational simplicity.
Finally, we present two results concerning the minimum expansion factor of UCI.
Theorem 2. [13], [25] Let C be an arbitrary UCI. Then its minimum expansion factor satisfies CC∗≥1+LC(1), which further implies that CC∗≥2 holds for every UCI C.
Theorem 3. [14] The optimal minimum expansion factor C∗ satisfies 2≤C∗≤2.0386, where Cν∗≤2.0386 is achieved by ν code.
III. LEAST FAVORABLE DISTRIBUTIONS
This section introduces the one-point plus uniform-tail distributions and establishes their least favorability for the UCI problem.
A. One-point plus uniform-tail distributions
Let k≥2 be an integer and let ε∈(0,kk−1] be a real number. Define the one-point plus uniform-tail distribution Pε,k as follows.
By the definition of Pε,k, the distribution has a point mass at 1 and is uniform on the remaining support; we therefore call it the one-point plus uniform-tail distribution. Let P(ε,k) denote the set of all one-point plus uniform-tail distributions; that is,
P(ε,k)={Pε,k2≤k∈N,0<ε≤kk−1}.(7)
From ε≤kk−1, we obtain
Pε,k(1)=1−ε≥k−1ε=Pε,k(2),
October 2, 2026 and hence P(ε,k)⊆PN. Also note that the uniform distribution Uk=Pkk−1,k∈P(ε,k). The entropy is
f(x)=1 has a unique solution in (0,kk−1]; we denote this unique solution by εk. Moreover, by the monotonicity of f(x) and f(21)=1+21log2(k−1)≥1, it follows that 0<εk≤21. For convenience in what follows, define σk≜εk1. Then σk≥2.
At the end of this subsection, we prove a lemma concerning the one-point plus uniform-tail distributions. Before stating the lemma, we introduce the following notation.
Lemma 1. For any prefix code C, the following hold:
(1) limk→∞εk=0,
(2) B≥1+L(1),
(3) limε→0+Rk(ε)=L(1) for any fixed integer k≥2,
(4) ak≤Blog2k any integer k≥2.
Proof. (1) Suppose for contradiction that limk→∞εk=0. Then there exist a constant C>0 and a subsequence {εkn}n=1∞ such that εkn≥c for all n. Since h(εk)≥0, we obtain
for all 2≤k∈N, and hence ak≤Blogk holds for every integer k≥2.
Naturally, we obtain the following corollary, which is Theorem 2.
Corollary 1. Let C be an arbitrary UCI. Then its minimum expansion factor satisfies CC∗≥1+LC(1), which further implies that CC∗≥2 holds for every UCI C.
Proof. From the definitions of CC∗ and B, and by Lemma 1(2), we have
We prove an important result: for any prefix code C, every least favorable distribution from the nonincreasing family PN must be a one-point plus uniform-tail distribution. Here, P∈PN is called least favorable for C if it attains the worst-case ratio; that is, AP(LC)/max{1,H(P)}=CC∗, where CC∗ is the supremum of this ratio over all P∈PN. To establish this result, we first consider a function Φ and establish an auxiliary lemma.
Define the function Φ(y) as follows.
Φ(y)≜y(1−h(y1)),y≥2.(9)
Taking the derivative yields
Φ′(y)=1+log2(1−y1)>0
for all y>2. In fact, Φ′(2)=0 does not affect the fact that Φ is strictly increasing on [2,∞). Moreover,
Φ′′(y)=y(y−1)ln21>0
for all y≥2. Thus, Φ is strictly convex on [2,∞). We also have Φ(2)=0 and limy→∞Φ(y)=∞. Thus Φ:[2,∞)⟶[0,∞) is a strictly increasing bijection. Therefore, we can define the inverse function
Y≜Φ−1:[0,∞)⟶[2,∞).(10)
Because the inverse of a strictly increasing function is itself strictly increasing, it follows that Y is strictly increasing on [0,∞). For u>0, we have Y(u)>Y(0)=2, so the derivative property of inverse functions gives
Y′(u)=Φ′(Y(u))1=1+log2(1−Y(u)1)1.(11)
Differentiating again yields
Y′′(u)=−Φ′(Y(u))3Φ′′(Y(u))<0
for all u>0. Hence Y′ is strictly decreasing on (0,∞). Next, we prove Y is strictly concave on [0,∞). 2 Take 0≤u1<u2 and 0<λ<1. Let y1≜Y(u1) and y2≜Y(u2). Since Φ is strictly convex on [2,∞), we have
Applying the strictly increasing inverse Y to both sides gives (1−λ)y1+λy2<Y((1−λ)u1+λu2). Equivalently,
(1−λ)Y(u1)+λY(u2)<Y((1−λ)u1+λu2).
This is exactly the definition of strict concavity. Thus Y is strictly concave on [0,∞). We summarize the relevant results on the functions Φ and Y as follows:
Φ is strictly increasing on [2,∞);
Φ is strictly convex on [2,∞);
Y is strictly increasing on [0,∞);
2Note that to prove that Y is strictly concave on (0,∞), it suffices to show that Y′′(u)<0 for all u>0.
October 2, 2026
Y′ is strictly decreasing on (0,∞);
Y is strictly concave on [0,∞).
We now present the auxiliary lemma.
Lemma 2. Let P∈PN be a probability distribution and define wk≜k(P(k)−P(k+1)) for all k∈N. Then the following statements hold.
(1) W≜(w1,w2,…) is a probability distribution, i.e., wk≥0 for all k∈N and ∑k=1∞wk=1.
(2) For every n≥1,
P(n)=k=n∑∞kwk,
and therefore P=∑k=1∞wkUk. The average codeword length is AP(L)=∑k=1∞wkak.
(3) The entropy satisfies
H(P)=k=1∑∞wklog2k+k=1∑∞wkD(Uk∥P),
where D(Uk∥P) denotes the relative entropy of Uk with respect to P. In particular,
H(P)≥k=1∑∞wklog2k.
Proof. (1) Since P is nonincreasing, wk=k(P(k)−P(k+1))≥0 for all k∈N. For every n≥1,
Since the relative entropy D(Uk∥P)≥0, we conclude that
H(P)≥k=1∑∞wklog2k.
When Q is a nonincreasing probability distribution on the alphabet {2,3,…}, a similar result holds as follows.
Lemma 3. Let Q be a nonincreasing probability distribution on the alphabet {2,3,…} with H(Q)<∞. Define wk≜(k−1)(Q(k)−Q(k+1)) for all 2≤k∈N. Then the following statements hold.
(1) W≜(w2,w3,…) is a probability distribution, i.e., wk≥0 for all 2≤k∈N and ∑k=2∞wk=1.
(2) The probability distribution Q=∑k=2∞wkUk. The average codeword length is AQ(L)=∑k=2∞wkak.
(3) The entropy satisfies
H(Q)=k=2∑∞wklog2(k−1)+k=2∑∞wkD(Uk∥Q),
where D(Uk∥Q) denotes the relative entropy of Uk with respect to Q. In particular,
H(Q)≥k=2∑∞wklog2(k−1).
The proof of Lemma 3 is identical to that of Lemma 2, except that the alphabet is {2,3,…} rather than N, so that all sums start at 2; we therefore omit it. Lemmas 2 and 3 show that every non-increasing probability distribution on the alphabet can be written as a linear combination of the corresponding uniform distributions, where the linear coefficients precisely form a probability distribution. At the end of this subsection, we present the main theorem of this section.
Proof. Since P(ε,k)⊆PN, it follows that CC∗≥B. Thus, we only need to prove that CC∗≤B.
If B=+∞, then CC∗≥B=+∞, which implies that Equation (12) holds. Therefore, it remains to prove that if B<+∞, then
max{1,H(P)}AP(LC)≤B(13)
for all P∈PN. We consider two cases depending on the value of P(1).
October 2, 2026
Case P(1)≤2−BL(1): By Lemma 2, there exists {wk}k≥1 there exists {wk}k≥1 with wk≥0 and ∑k=1∞wk=1 such that P=∑k=1∞wkUk and H(P)=∑k=1∞wklog2k+∑k=1∞wkD(Uk∥P). Because P(1)≤2−BL(1) and wkD(Uk∥P)≥0 for all k∈N, it follows that
Case P(1)>2−BL(1): By the definition of B and H(Pεk,k)=1, it follows that
APεk,k(L)=(1−εk)L(1)+εkak≤B
then
ak≤L(1)+(B−L(1))σk
for all k≥2. Let Y be the function defined in Equation (10). Then σk=Y(log2(k−1)).
Let q≜1−P(1) and Q(n)≜qP(n) for all 2≤n∈N. It is clear that Q is a nonincreasing probability distribution on the alphabet {2,3,…} with H(Q)<∞. By Lemma 3, there exists a probability distribution W≜(w2,w3,…) such that Q=∑k=2∞wkUk, AQ(L)=∑k=2∞wkak and H(Q)≥∑k=2∞wklog2(k−1).
3By Lemma 1, B≥1+L(1). Since P(1)>2−BL(1), we obtain P(1)>2−BL(1)>2−L(1)L(1)=21. Therefore, q1>2, which lies in the domain of Φ.
October 2, 2026 then F(u0)=B−L(1)−q(B−L(1))q1=0. From Equation (11), it follows that Y′(u)=(1+log2(1−Y(u)1))−1. Since Y′ is decreasing and P(1)=1−q>2−BL(1), we obtain
Y′(u)≤Y(u0)=1+log2(1−q)1<1−BL(1)1=B−L(1)B
for all u≥u0. Therefore, taking the derivative of F(u) yields
F′(u)=Bu−q(B−L(1))Y′(u)>Bu−q(B−L(1))B−L(1)B=0,
and hence F(u) is increasing on [u0,∞). Thus F(u)>F(u0)=0, which implies that Equation (14) holds. This completes the proof.
Theorem 4 shows that, regardless of how the prefix code C is constructed, the probability distribution attaining the supremum of the ratio max{1,H(P)}AP(L) must be one-point plus uniform-tail distributions.
C. Least favorable distributions of P(ε,k)
In this subsection, we prove that for any prefix code C, the least favorable distributions chosen from the family P(ε,k) must belong to {Pεk,k,Uk∣2≤k∈N}. We now prove an important lemma.
Since f(x)=h(x)+xlog2(k−1) is strictly increasing on (0,kk−1], and εk is the unique solution of f(x)=1, it follows that f(ε)≤1 for ε∈(0,εk], and f(ε)>1 for x∈(εk,kk−1].
a) Case ε∈(0,εk]: In this case, H(Pε,k)=h(ε)+εlog2(k−1)≤1, and hence
Theorem 5 shows that for any prefix code C, the least favorable distributions chosen from the family PN must belong to {Pεk,k,Uk∣2≤k∈N}. Therefore, when considering optimal UCI, we only need to consider the family of distributions {Pεk,k,Uk∣2≤k∈N}. This is a very interesting result. Below, we provide another concise proof of this result.
Proof. For every k≥2, the distributions Pεk,k and Uk belong to PN, and hence
Case R>w1: We prove that the coefficients {λk}k=2∞ can be chosen such that
0≤λk≤βkwk,k=2∑∞λk(1−βk)=w1.
We now give a procedure for choosing the coefficients. Start with the initial remaining demand r1≜w1, then process the indices in increasing order k=2,3,…. For each k≥2, proceed as follows.
a) If rk−1=0, stop and set λj≜0 for all j≥k.
b) If βk=1, then 1−βk=0, so the choice of λk is immaterial; set λk≜0 and rk≜rk−1.
c) If 0<βk<1, set
λk≜min{βkwk,1−βkrk−1},
and update the remaining demand to rk≜rk−1−λk(1−βk).
Because
k=2∑∞βkwk(1−βk)=R>w1=r1,
there exists a finite index K such that ∑k=2Kβkwk(1−βk)>w1. From the above selection process, it follows that the last nonzero coefficient equals 1−βkrk−1, and
Thus far we have given two proofs of Theorem 5. The concise proof just presented is direct, but it is unnatural in that the statement of Theorem 5 must be guessed in advance. In contrast, the proof obtained via Theorem 4 and Corollary 2 is natural, as it reflects the complete process of studying this problem and discovering the conclusion.
October 2, 2026 of Theorem 5. In addition, Lemma 2, which arose in the course of solving the problem, captures an important idea that also underlies the concise proof. We have therefore chosen to present both.
IV. THE OPTIMAL UCI AND THE UCI INEQUALITY
In this section, our ultimate goal is to construct an optimal UCI and to establish that its minimum expansion factor satisfies 2.0001247570≤C∗≤2.0001247571. To this end, we have found an important inequality in UCI, whose role analogous to that of the Kraft inequality [12] in the study of prefix codes.
Yan and Lin [25] proved that the length of the first codeword of optimal UCI is 1. Therefore, when considering the optimal UCI, we assume, by default, that the prefix code satisfies L(1)=1. This section proves that, for any real number B≥1,
where Σ(B) is defined in Equation (22) below. The inequality Σ(B)≤47 is a necessary and sufficient condition for the existence of a UCI code C with LC(1)=1 and with minimum expansion factor CC∗ bounded above by B. This is a strong result, and hence we refer to Σ(B)≤47 as the UCI inequality. Note that, since CC∗≤B implies that C is a UCI, we omit the condition that C is a UCI in the subsequent theorem statements.
A. Sufficient condition for the UCI inequality
In this subsection, we first present three auxiliary lemmas, and then prove a sufficient condition for the UCI inequality. Before stating the lemmas, we introduce some notation.
Let S(k)≜∑n=1kL(n) denote the sum of the lengths of the first k codewords. Let Nn≜∣{m∈N∣L(m)=n} denote the number of codewords of length n, and let An≜∑j=1nNj denote the number of codewords of length at most n. Define Bn≜∑j=1nAj. In particular, define A0=B0=0. For any prefix code C and B∈R, let
for all 3≤N∈N. We now prove three auxiliary lemmas.
Lemma 5. For any prefix code C and B∈R, then CC∗≤B if and only if S(k)≤cB,C(k) for all 2≤k∈N. 5
5Given that the prefix code C satisfies LC(1)=1, the conclusion of Lemma 5 is revised to CC∗≤B if and only if S(k)≤cB(k) for all 2≤k∈N. A similar situation holds for Lemma 6.
October 2, 2026
Proof. By Theorem 5 and the definition of T(C), it follows that
where 1A(x) denotes the indicator function. Since ∣{m≤k∣L(m)≥n}∣ denotes the number of codewords of length at least n among the first k codewords, we obtain
October 2, 2026 where (a) holds because in the sequence {an=max{k−An−1,0}}n=1∞, only finitely many initial terms are greater than 0, and all subsequent terms are identically zero.
(2) For any n∈N and any 2≤k∈N, it follows that
nk−Bn−1≤S(k)≤cB,C(k),
and hence we obtain Bn−1≥nk−cB,C(k) for all n∈N and 2≤k∈N. Therefore, we have
Bn−1≥dn,C(B)=2≤k∈Nsup{nk−cB,C(k)}
for all n∈N. Also, because Bn is an integer, it follows that Bn≥⌈dn+1,C(B)⌉ for all integer n≥0.
The final auxiliary lemma uses the previously defined notation to express the Kraft sum, i.e., ∑n=1∞2−L(n).
We now propose and prove a sufficient condition for the UCI inequality.
Theorem 6. For any real number B,6 if there exists a prefix code C such that LC(1)=1 and CC∗≤B, then Σ(B)≤47.
6From Corollary 1, we obtain B≥CC∗≥2. Therefore, we omit the condition that B≥1.
October 2, 2026
Proof. Since LC(1)=1 and CC∗≤B, it follows from Lemma 5 that S(k)≤cB(k) for all 2≤k∈N. From Lemma 6, we have Bn≥⌈dn+1(B)⌉ for all integer n≥0. Because C is a prefix code, we obtain N1=0 or N1=1. Moreover, since LC(1)=1, it follows that N1=1. From the definitions of An and Bn, we have B1=A1=N1=1. By Lemma 7, it follows that
In this subsection, we prove a necessary condition for the UCI inequality. That is, assuming inequality Σ(B)≤47 holds, it suffices to construct a prefix code C such that LC(1)=1 and CC∗≤B. Therefore, we first construct a code C(B) for each real number B. Next, we explain the rationale for constructing C(B). Finally, we prove that the constructed C(B) satisfies the required conditions.
Construction 1. For each B∈R, construct a code C(B) as follows. Let the code C(B) satisfy B1=1 and Bn=⌈dn+1(B)⌉ for all 2≤n∈N.
Here, we provide four explanations regarding the validity of Construction 1.
Since we adopt the convention that the codewords are arranged in nondecreasing order of length; that is, L(n)≤L(n+1) for every positive integer n. Therefore, once the sequence {Nn}n=1∞ is determined, the sequence {L(n)}n=1∞ is also uniquely determined.
Construction 1 fixes the sequence {Bn}n=1∞. Since An=Bn−Bn−1, the sequence {An}n=1∞ is determined. Furthermore, since Nn=An−An−1, the sequence {Nn}n=1∞ is also determined. Thus, this is indeed a well-defined code construction.
When the sequence {L(n)}n=1∞ is determined. The explicit construction of the codewords can be derived from alphabetic codes [31]–[33]. For the explicit construction, see also reference [14].
Since the length of the first codeword of optimal UCI is 1 [25], by setting B1=1, we obtain N1=A1=B1=1, and hence LC(B)(1)=1. If B1=⌈d2(B)⌉, then when B=2.1, B1=⌈d2(2.1)⌉=⌈−0.2⌉=0. In this case, N1=A1=B1=0, and hence LC(B)(1)≥2, so it cannot be an optimal UCI.
October 2, 2026
The reason for setting Bn=⌈dn+1(B)⌉ for all 2≤n∈N will become clear in the proof of Theorem 7 below. By Equation (23), for the Kraft inequality to hold, we need Bn≤⌈dn+1(B)⌉ for all integers n≥2. For Equation (25) to hold, we need Bn≥⌈dn+1(B)⌉ for all integers n≥2. Therefore, we must set Bn=⌈dn+1(B)⌉ for all 2≤n∈N.
Before proving the necessary condition, we need to prove a related lemma.
Lemma 8. The function
Σ:B⟼Σ(B)
is nonincreasing on [1,∞). That is, if 1≤B1≤B2, then Σ(B1)≥Σ(B2).
Proof. We prove the monotonicity of Σ in two steps.
First, we prove that if 1≤B1≤B2, then cB1(k)≤cB2(k) for all 2≤k∈N.
Suppose 1≤B1≤B2. Since k≥2 and σ(xk)≥2, we have
Moreover, since cB(k)=min{1+(k−1)[1+(B−1)σk],Bklog2k}, we obtain cB1(k)≤cB2(k).
Second, we prove that if 1≤B1≤B2, then Σ(B1)≥Σ(B2).
Suppose 1≤B1≤B2, then cB1(k)≤cB2(k) for all 2≤k∈N, and hence nk−cB1(k)≥nk−cB2(k) for all 2≤k∈N and n∈N. Furthermore, by dn(B)=sup2≤k∈N{nk−cB(k)}, we obtain dn(B1)≥dn(B2) for all n∈N. Since Σ(B)≜∑n=3∞⌈dn(B)⌉2−n, it follows that Σ(B1)≥Σ(B2).
We now prove a necessary condition for the UCI inequality.
Theorem 7. For any real number B≥1, if Σ(B)≤47, then there exists a prefix code C such that LC(1)=1 and CC∗≤B.
Proof. For each B∈R, we construct the code C(B) satisfy B1=1 and Bn=⌈dn+1(B)⌉ for all 2≤n∈N. We will prove that C(B) is a prefix code satisfying conditions LC(B)(1)=1 and CC(B)∗≤B.
Furthermore, by the Kraft inequality, C(B) is a prefix code.
Second, since B1=1, we have N1=A1=B1=1. Hence, we obtain LC(B)(1)=1.
Finally, we prove CC(B)∗≤B by considering two cases according to the value of B.
Case B≥1.5: In this case, we first prove that cB(k)≥2k−1 for all 2≤k∈N. Let
t(x)=xlog2x2x−1.
By taking the derivative, we find that t(x) is strictly decreasing on [2,+∞). Therefore, we have
t(k)=klog2k2k−1≤t(2)=1.5
for all 2≤k∈N. Thus,
B≥1.5≥klog2k2k−1,
and hence Bklog2k≥2k−1 for all 2≤k∈N. Moreover, we obtain
1+(k−1)[1+(B−1)σk]≥1+(k−1)[1+(1.5−1)×2]=2k−1,
and hence cB(k)≥2k−1 for all 2≤k∈N.
Next, we prove that
nk−Bn−1≤cB(k)∀n∈N,2≤k∈N.(24)
When n=1, we have nk−Bn−1=k<2k−1≤cB(k) for all 2≤k∈N. When n=2, we obtain nk−Bn−1=2k−1≤cB(k) for all 2≤k∈N. When n≥3, from Bm=⌈dm+1(B)⌉ for every m≥2, it follows that
nk−cB(k)≤dn(B)≤⌈dn(B)⌉=Bn−1(25)
for all 2≤k∈N, and hence nk−Bn−1≤cB(k) for all 2≤k∈N. Therefore, Equation (24) holds. Furthermore, by Lemmas 5 and 6, we obtain
Case 1≤B<1.5: We will prove that no such case exists. Assume Σ(1.5)≤47. By the proof of the previous case, there exists a prefix code C(1.5) such that CC(1.5)∗≤1.5. This contradicts Corollary 1. Therefore, Σ(1.5)>47. From Lemma 8, it follows that
Σ(B)≥Σ(1.5)>47
for all 1≤B<1.5. Thus, when 1≤B<1.5, Σ(B)≤47 cannot occur.
This completes the proof.
October 2, 2026
C. The optimal UCI with the minimum expansion factor C∗
The following theorem is an immediate consequence of Theorems 6 and 7.
Theorem 8. For any real number B≥1, there exists a prefix code C such that LC(1)=1 and CC∗≤B if and only if Σ(B)≤47.
We now present a theorem relating the optimal minimum expansion factor C∗ to the UCI inequality.
Theorem 9. For any real number B≥1,
(1) if Σ(B)≤47, then C∗≤B;
(2) if Σ(B)>47, then C∗≥B;
(3) The optimal minimum expansion factor C∗ satisfies
C∗=inf{B≥1Σ(B)≤47}.(26)
Proof. (1) If Σ(B)≤47, then by Theorem 8 there exists a prefix code C0 such that CC0∗≤B, which further yields
C∗=C∈SUCIinfCC∗≤CC0∗≤B.
(2) If Σ(B)>47, we first prove that B<2.0386. Since there exists a prefix code ν satisfying Lν(1)=1 and Cν∗≤2.0386, it follows from Theorem 8 that Σ(2.0386)≤47. Therefore, we have Σ(2.0386)<Σ(B). Furthermore, by Lemma 8, we obtain B<2.0386.
From Corollary 1, there cannot exist a prefix code C satisfying LC(1)≥2 and CC∗≤B; otherwise, we would have
CC∗≥1+LC(1)≥3>2.0386>B,
which contradicts CC∗≤B. Moreover, by Theorem 8, there cannot exist a prefix code C satisfying LC(1)=1 and CC∗≤B; otherwise, we would have Σ(B)≤47, which contradicts Σ(B)>47. From the above, it follows that when Σ(B)>47, there is no prefix code C satisfying CC∗≤B; that is, if Σ(B)>47, then CC∗>B holds for any prefix code C. Therefore, we obtain
C∗=C∈SUCIinfCC∗≥B.
(3) Since Σ(2.0386)≤47, it follows that the set S≜{B≥1∣Σ(B)≤47} is nonempty. For every B∈S, it follows from (1) that C∗≤B. Hence, C∗≤infS.
Next, we prove that infS≤C∗. From (2), it follows that its contrapositive holds, i.e., for any real number B≥1, if C∗<B, then Σ(B)≤47. By Theorem 3, C∗≥2. It follows that B>C∗≥2, and hence B≥1. Thus the contrapositive applies. Therefore, if C∗<B, we obtain Σ(B)≤47, i.e., B∈S. Since B is an arbitrary real number greater than C∗, we have shown that the entire interval (C∗,∞) is contained in S. Hence, infS≤inf(C∗,∞)=C∗. Therefore, Equation (26) holds.
October 2, 2026
Theorem 9(1) and (2) tell us how to further tighten the bound on the optimal minimum expansion factor C∗, and even how to obtain the exact value of C∗. On the one hand, taking B1>2 with Σ(B1)>47 gives a tighter lower bound B1 for C∗. On the other hand, taking B2<2.0386 with Σ(B2)≤47 gives a tighter upper bound B2 for C∗. When B1 and B2 are sufficiently close, the inclusion C∗∈[B1,B2] implies that C∗ has a very tight range of possible values.
At the end of this subsection, we discuss how to obtain a sufficiently tight interval [B1,B2]. Essentially, the problem reduces to how to compute Σ(B) exactly or how to give tight upper or lower bounds on Σ(B). There are three points to note regarding the computation of Σ(B).
Here, σx satisfies h(σx1)+σx1log2(x−1)=1, and y∗ is the largest root of equation y+ln(2−y2)1=B−1n−1. The detailed proof of Equation (27) is given in Appendix A.
To improve the lower bound 2 for C∗, we seek B1>2 such that Σ(B1)>47. By Σ(2.0386)≤47 and Lemma 8, it follows that B1<2.0386. Therefore, we obtain cB1(2)=min{1+(2−1)(2B1−1),2B1}=2B1, and hence
Therefore, when explicitly computing Σ(B1) in practice, it suffices to find N such that the N-th partial sum ΣN(B1) satisfies ΣN(B1)>47; in this case, Σ(B1)>ΣN(B1)>47. By numerical computation, we obtain that when B1=2.0001247570, Σ(B1)>47. Thus, the lower bound for C∗ is improved from 2 to 2.0001247570. The details of the computation are given in Appendix B.
To improve the upper bound 2.0386 for C∗, we seek B2<2.0386 such that Σ(B2)≤47. When computing Σ(B2) exactly, we split the summation into the following two parts.
Σ(B2)=ΣL(B2)+n=L+1∑∞⌈dn(B2)⌉2−n.
Using Equation (27), we accurately compute the sum of the first L−2 terms ΣL(B2). We now analyze how to give an upper bound for the tail sum ∑n=L+1∞⌈dn(B2)⌉2−n.
where β≜1−B−11 and U≜B−1L−ln21. The detailed proof of Equation (32) is given in Appendix C. From Equations (30), (31), and (32), we obtain the following inequality, thereby obtaining an upper bound for the tail sum ∑n=L+1∞⌈dn(B2)⌉2−n.
Therefore, if the exact sum of the first L−2 terms ΣL(B2) plus an upper bound on the tail sum is at most 47, then we can conclude that Σ(B2)≤47. By numerical computation, we obtain that when B2=2.0001247571, Σ(B2)≤47. Thus, the upper bound for C∗ is improved from 2.0386 to 2.0001247571. The details of the computation are given in Appendix B.
In summary, the range of the optimal expansion factor C∗ is narrowed from [2, 2.0386] to
[2.0001247570, 2.0001247571].
We discuss the optimal UCI corresponding to C∗, considering the following two cases. If there exists B0∈{B≥1∣Σ(B)≤47} such that B0=inf{B≥1∣Σ(B)≤47}, then C∗=B0. In this case, the code C(B0) obtained from Construction 1 is optimal UCI. Otherwise, if no such B0 exists, there is a sequence {bn}n=1∞ with bn∈{B≥1∣Σ(B)≤47} and limn→∞bn=inf{B≥1∣Σ(B)≤47}, then C∗=limn→∞bn. In this case, the family of UCIs {C(bn)}n=1∞ obtained from Construction 1 is optimal UCI. Therefore, in theory, the optimal UCI has already been found via Theorem 9(3) and Construction 1. In practice, however, from the UCI inequality and numerical computation, we know that the optimal expansion factor is as C∗=2.000124757036101⋯. Thus, the optimal UCI is either C(C∗), or, by taking a sequence {bn}n=1∞ with limn→∞bn=C∗ and bn>C∗ for all n, the corresponding code family {C(bn)}n=1∞ is optimal.
V. CONCLUSIONS
In this paper, we first constructed the one-point plus uniform-tail distributions and proved that they are least favorable: for every UCI, the worst-case ratio is attained by a distribution in this family. These distributions are the key ingredient in deriving the UCI inequality, which stands in the same relation to UCI as the Kraft inequality stands to prefix codes, and which compares any prescribed real number B with C∗. Through the UCI inequality, we obtained an equivalent definition of C∗; a numerical computation based on it gives C∗=2.000124757036101⋯, whose first fifteen decimal digits are certified. Once C∗ is determined, an optimal UCI is obtained in theory.
The optimal UCI obtained in this way is, however, not as concise and clear as the classical γ code [4] proposed by Elias, nor as the ν code [14] that recently attained the expansion factor 2.0386. It is therefore natural to look
October 2, 2026 for a construction of the optimal UCI whose codewords admit equally simple mathematical expressions. Another direction is to identify the constant 2.000124757036101 ⋯ in closed form.
APPENDIX A PROOF OF EQUATION (27)
We first express dn(B) in terms of Sn(x) and Un(x). We obtain
Since Sn(k)≤max{Sn(k),Un(k)}, it follows that sup2≤k∈NSn(k)≤sup2≤k∈Nmax{Sn(k),Un(k)}. Similarly, we obtain sup2≤k∈NUn(k)≤sup2≤k∈Nmax{Sn(k),Un(k)}, and hence
By Equations (35) and (36), Equation (34) holds. From Equation (34), the computation of dn(B) reduces to that of sup2≤k∈NSn(k) and sup2≤k∈NUn(k).
Next, we compute sup2≤k∈NSn(k). The idea of the computation is to differentiate Sn(x) and thereby determine its monotonicity over [2,∞). Since Sn(x)=(n−1)x−(x−1)(B−1)σx is implicitly defined as a function of x, it cannot be differentiated directly. Let y=σx≥2, we obtain
h(y1)+y1log2(x−1)=1.(37)
Multiplying Equation (37) by ln2 and simplifying, we obtain
Let Z(y)≜y+ln(2−y2)1 for y∈(2,∞). Differentiating shows that Z(y) is first decreasing and then increasing over (2,∞). Let Z0≜min{y+ln(2−y2)1∣y>2}. Then Z0 is the minimum value of Z(y) over (2,∞).
Case n−1≤(B−1)Z0: In this case, we obtain
Sn′(x)=n−1−(B−1)Z(y)≤n−1−(B−1)Z0≤0.
Therefore, Sn(x) is nonincreasing on the interval [2,∞), and hence we obtain Sn(x)≤Sn(2). Thus,
2≤k∈NsupSn(k)=Sn(2)=2n−2B.(38)
Case n−1>(B−1)Z0: From Equation 37, we have x=1+2y−yh(y1). Differentiating, we obtain that x is strictly increasing in y on the interval [2,∞). Let Sn′(x)=0, then
Z(y)=B−1n−1>Z0.
Since Z(y) is first decreasing and then increasing over (2,∞), the equation Z(y)=B−1n−1 has two roots, denoted by y1 and y2, with y1<y2. Therefore, the solution to Sn′(x)<0 is 2<y<y1 or y>y2; the solution to Sn′(x)>0 is y1<y<y2. Since x is strictly increasing in y on the interval [2,∞), it follows that Sn(x) is decreasing on [2,1+2y1−y1h(y11)], increasing on [1+2y1−y1h(y11),1+2y2−y2h(y21)], and decreasing on [1+2y2−y2h(y21),∞), and hence
Finally, we compute sup2≤k∈NUn(k). The idea of the computation is to differentiate Un(x) and thereby determine its monotonicity over [2,∞). By taking the derivative, we obtain
Un′(x)=n−B(log2x+ln21).
Therefore, Un(x) is increasing on (0,x1∗], and decreasing on [x1∗,∞), where x1∗=2Bn−ln21. We now consider two cases depending on whether x1∗≤2 or x1∗>2.
Case x1∗≤2: In this case, Bn−ln21≤1, which is equivalent to n≤(1+ln21)B. The function Un(x) is decreasing on [2,∞). Therefore, Un(x)≤Un(2), and hence
2≤k∈NsupUn(k)=Un(2)=2n−2B.(40)
October 2, 2026
Case x1∗>2: In this case, n>(1+ln21)B and Un(x) is increasing on [2,x1∗], and decreasing on [x1∗,∞). Therefore, Un(x)≤Un(x1∗), and hence
Since we need to perform numerical computations over the real numbers, and in order to ensure the rigor of our conclusions, all numerical computations in this paper were carried out using the ball arithmetic implemented in FLINT [34]. A ball [t±r] denotes the set {x∣∣x−t∣≤r} of real numbers within distance r of t. Ball arithmetic guarantees the closure of the four basic arithmetic operations on real numbers. Specifically, suppose we need to compute the four arithmetic operations for two real numbers x1 and x2. Let ⊕ be a binary operation with domain (R,R), and let ⊕ denote the operation in FLINT ball arithmetic corresponding to operation ⊕. If
x1∈[m1±r1],x2∈[m2±r2],
then, for an operation ⊕,
x1⊕x2∈[m3±r3],
where [m3±r3]=[m1±r1]⊕[m2±r2]. Note that [m3±r3] may be NaN or an unbounded ball, such as [0±∞]; this can occur, for example, when applying log to a ball containing zero. We refer interested readers to the FLINT documentation [34] for further details.
Based on Theorem 9(1) and (2), we design the following algorithm, whose purpose is to obtain tighter upper and lower bounds on C∗. The core idea of the algorithm is as follows. First, compute the sum of the first L−2 terms ΣL(B). If ΣL(B)>47, then Σ(B)>ΣL(B)>47, so B is a lower bound for C∗. If ΣL(B)≤47, then add the upper bound on the tail sum given in Equation (33); if the resulting sum does not exceed 47, then Σ(B)≤47, so B is an upper bound for C∗. If neither case applies, increase the number of terms summed, consider Σ2L(B) in the next iteration, and so on. The detailed steps are shown in Algorithm 1. We highlight several implementation details below.
The algorithm initializes the two bounds to 2 and 2.0386 (line 1), values taken from [14]. At each iteration, the algorithm computes the midpoint Bm of the upper and lower bounds. By comparing Σ(Bm) with 47, it determines whether Bm is an upper or lower bound, and thereby updates the bounds on C∗. This uses the idea of bisection to approximate C∗.
October 2, 2026
Algorithm 1: Tighter upper and lower bounds on C∗
Input: Target precision ϵ in bits
Output: Balls B1 and B2 such that Σ(B1)>47 and Σ(B2)≤47.
1 B1←2, B2←2.0386; // initial values from [14]
2 τ←ϵ; // set the internal precision target
3 while B2−B1>2−ϵ do
4 Bm←2B1+B2, L←16;
5 while L≤230 do
6 strunc←∑ℓ=3L⌈dℓ(Bm)⌉2−ℓ; // with τ-bit precision
7 if strunc>47 then
8 B1←Bm;
9 break
10 stail←TailSumUB(Bm,L) by Equation (33); // with τ-bit precision
11 if strunc+stail≤47 then
12 B2←Bm;
13 break
14 L←2L
15 if L>230 then τ←2τ // internal precision exhausted; double it;
16 return B1,B2
Note that B1, B2, and Bm are all rational numbers, and hence they can be stored exactly in the computation; ball arithmetic is not involved. However, the computation of strunc (line 6) and stail (line 10) involves ball arithmetic, so strunc and stail are essentially balls. Let lb(s) and ub(s) denote the lower and upper bounds of the ball s, respectively. It is worth noting that strunc>47 (line 7) means lb(strunc)>47, whereas strunc+stail≤47 means ub(strunc)+ub(stail)≤47.
The algorithm involves two precisions: the target precision ϵ and the computation precision τ. The algorithm takes a target precision ϵ in bits as input, and sets the computation precision τ equal to ϵ (line 2). The outer loop continues until the gap between the bounds is at most 2−ϵ (line 3). At each step, it evaluates strunc and stail at τ-bit precision. Initially, we attributed the failure of both tests to the small number of terms L in the summation, and consequently doubled the number of terms (line 14). If L exceeds 230 without either test succeeding, the algorithm doubles the computation precision τ and continues the outer loop (line 15). Once the bounds are within the target gap, it returns them (line 16).
We ran Algorithm 1 for target precisions ϵ=16,32,48, and 64, respectively, and obtained the experimental results shown in Table II. In the table, we retain 10 decimal places for precisions ϵ=16 and 32, and 16 decimal places for ϵ=48 and 64. For example, when ϵ=16, the output lower bound is B1=2.000122509765625;
October 2, 2026
TABLE II
EXPERIMENTAL RESULTS FOR DIFFERENT TARGET PRECISIONS.
ϵ
B1
B2
16
2.0001225097
2.0001319336
32
2.0001247570
2.0001247572
48
2.0001247570361014
2.0001247570361037
64
2.0001247570361019
2.0001247570361020
retaining 10 decimal places requires truncation (rounding down) to obtain 2.0001225097, and the output upper bound is B2=2.00013193359375; retaining 10 decimal places requires rounding up to obtain 2.0001319336. As can be seen from Table II, when 15 decimal places are kept, C∗=2.000124757036101⋯.
APPENDIX C
PROOF OF EQUATION (32)
From Equation (29), it is known that
Sn(x2∗)=(B−1)(ln(2−y∗2)x2∗+y∗).
Therefore, we first bound the three terms ln(2−y∗2), y∗, and x2∗ using inequalities. From Appendix A, it is known that Z(y)=y+ln(2−y2)1 first decreases and then increases over (2,∞). Without loss of generality, we may assume that it is decreasing on (2,ymin] and increasing on [ymin,∞). By differentiation, we find that ymin>3.4213. Because y∗ is the largest root of equation y+ln(2−y2)1=B−1n−1, we obtain y∗>ymin>3.4213, which further yields
ln(2−y∗2)>ln(2−3.42132)>0.
Let y0≜B−1n−1−ln21. Since 0<ln(2−y∗2)<ln2, we obtain
y∗=B−1n−1−ln(2−y∗2)1<B−1n−1−ln21=y0.
Because Φ(y)=y(1−h(y1)) is strictly increasing on [2,∞), and x2∗=1+2y∗(1−h(y∗1)), we obtain
x2∗−1=2Φ(y∗)<2Φ(y0).
Second, substituting the above inequality into the sum term ∑n=L+1∞Sn(x2∗)2−n, we obtain
[1] C. E. Shannon, "A mathematical theory of communication," The Bell System Technical Journal, vol. 27, no. 3, pp. 379–423, Jul. 1948.
[2] D. A. Huffman, “A method for the construction of minimum-redundancy codes,” Proceedings of the IRE, vol. 40, no. 9, pp. 1098–1101, Sep. 1952.
[3] T. M. Cover and J. A. Thomas, Elements of information theory, 2nd ed. NY, USA: Wiley, 2006.
[4] P. Elias, “Universal codeword sets and representations of the integers,” IEEE Transactions on Information Theory, vol. 21, no. 2, pp. 194–203, Mar. 1975.
[5] W. Yan, S.-J. Lin, and Y. S. Han, “A new metric and the construction for evolving 2-threshold secret sharing schemes based on prefix coding of integers,” IEEE Transactions on Communications, vol. 71, no. 5, pp. 2906–2915, May 2023.
[6] Q. Cheng, H. Cao, S.-J. Lin, N. Yu, Y. S. Han, and X. Xie, “A construction of evolving k-threshold secret sharing scheme over a polynomial ring,” in Advances in Cryptology – ASIACRYPT 2025. Singapore: Nature Singapore, 2026, pp. 3–33.
[7] D. Alistarh, D. Grubic, J. Li, R. Tomioka, and M. Vojnovic, “Compressstreamdb: Fine-grained adaptive stream processing without decompression,” in 31st Conference on Neural Information Processing Systems (NIPS 2017). Long Beach, CA, USA: MIT Press, 2017, pp. 1709–1720.
[8] Y. Zhang, F. Zhang, H. Li, S. Zhang, and X. Du, “Compressstreamdb: Fine-grained adaptive stream processing without decompression,” in 2023 IEEE 39th International Conference on Data Engineering (ICDE). Anaheim, CA, USA: IEEE, 2023, pp. 408–422.
[9] Y. Zhang, F. Zhang, H. Li, S. Zhang, X. Guo, Y. Chen, A. Pan, and X. Du, “Data-aware adaptive compression for stream processing,” IEEE Transactions on Knowledge and Data Engineering, vol. 36, no. 9, pp. 4531–4549, Sept. 2024.
[10] U. Niesen, “An information-theoretic analysis of deduplication,” IEEE Transactions on Information Theory, vol. 65, no. 9, pp. 5688–5704, Sept. 2019.
[11] H. Lou and F. Farnoud, “Data deduplication with random substitutions,” IEEE Transactions on Information Theory, vol. 68, no. 10, pp. 6941–6963, Oct. 2022.
[12] L. G. Kraft, “A device for quantizing, grouping, and coding amplitude-modulated pulses,” Master’s thesis, Dept. of Electrical Engineering, Massachusetts Institute of Technology, Cambridge, Mass., 1949.
[13] W. Yan and S.-J. Lin, “On the minimum of the expansion factor for universal coding of integers,” IEEE Transactions on Communications, vol. 69, no. 11, pp. 7309–7319, Nov. 2021.
[14] W. Yan and Y. S. Han, “The construction of near-optimal universal coding of integers,” IEEE Transactions on Information Theory, vol. 72, no. 8, pp. 6240–6262, Aug. 2026.
[15] R. M. Capocelli, “Flag encodings related to the zeckendorf representation of integers,” in Sequences, Combinatorics, Compression, Security, and Transmission. New York, NY, USA: Springer-Verlag, 1990, pp. 449–466.
[16] B. T. Ávila and R. M. C. de Souza, “Meta-Fibonacci codes: Efficient universal coding of natural numbers,” IEEE Transactions on Information Theory, vol. 63, no. 4, pp. 2357–2375, Apr. 2017.
[17] V. I. Levenshtein, “On the redundancy and delay of decodable coding of natural numbers (in Russian),” Problems of Cybernetics, vol. 20, pp. 173–179, 1968.
[18] S. Even and M. Rodeh, “Economical encoding of commas between strings,” Communications of the ACM, vol. 21, no. 4, pp. 315–317, Apr. 1978.
[19] Q. F. Stout, “Improved prefix encodings of the natural numbers (corresp.),” IEEE Transactions on Information Theory, vol. 26, no. 5, pp. 607–609, Sep. 1980.
[20] H. Yamamoto, “A new recursive universal code of the positive integers,” IEEE Transactions on Information Theory, vol. 46, no. 2, pp. 717–723, Mar. 2000.
[21] K. Lakshmanan, “On universal codeword sets,” IEEE Transactions on Information Theory, vol. 27, no. 5, pp. 659–662, Sep. 1981.
[22] A. Apostolico and A. S. Fraenkel, “Robust transmission of unbounded strings using Fibonacci representations,” IEEE Transactions on Information Theory, vol. 33, no. 2, pp. 238–245, Mar. 1987.
[23] M. Wang, “Almost asymptotically optimal flag encoding of the integers,” IEEE Transactions on Information Theory, vol. 34, no. 2, pp. 324–326, Mar. 1988.
[24] H. Yamamoto and H. Ochi, “A new asymptotically optimal code for the positive integers,” IEEE Transactions on Information Theory, vol. 37, no. 5, pp. 1420–1429, Sep. 1991.
October 2, 2026
[25] W. Yan and S.-J. Lin, “A tighter upper bound of the expansion factor for universal coding of integers and its code constructions,” IEEE Transactions on Communications, vol. 70, no. 7, pp. 4429–4438, Jul. 2022.
[26] A. D. Wyner, "An upper bound on the entropy series," Inf. Control., vol. 20, no. 2, pp. 176–181, Mar. 1972.
[27] W. Yan and S.-J. Lin, “Generalized universal coding of integers,” in Proc. IEEE Inf. Theory Workshop (ITW). Kanazawa, Japan: IEEE, 2021, pp. 1–6.
[28] W. Yan and Y. S. Han, “Generalized universal coding of integers,” IEEE Transactions on Communications, vol. 72, no. 8, pp. 4538–4550, Aug. 2024.
[29] W. Yan, Y. S. Han, and G. Yang, “On some properties for universal coding of integers and its generalization,” IEEE Transactions on Communications, vol. 73, no. 10, pp. 8587–8595, Oct. 2025.
[30] D. Salomon, Variable-length Codes for Data Compression. London, U.K.: Springer-Verlag, 2007.
[31] N. Nakatsu, “Bounds on the redundancy of binary alphabetical codes,” IEEE Transactions on Information Theory, vol. 37, no. 4, pp. 1225–1229, July 1991.
[32] R. Yeung, "Alphabetic codes revisited," IEEE Transactions on Information Theory, vol. 37, no. 3, pp. 564–572, May 1991.
[33] R. Bruno, R. De Prisco, A. De Santis, and U. Vaccaro, “Bounds and algorithms for alphabetic codes and binary search trees,” IEEE Transactions on Information Theory, vol. 70, no. 10, pp. 6974–6988, Oct. 2024.