A decoding criterion for every finite set of primes
For other prime sets, a useful tail interval may depend on the recent
occurrence of each prime. Put 𝑄 =𝑃 ∖{𝑝} and choose the
integer 𝑔𝑞 by 𝑝𝑔𝑞 <𝑞 <𝑝𝑔𝑞+1. Successive
blocks containing a 𝑞-power have
indices ⌊𝑓log𝑝𝑞⌋
and ⌊(𝑓 +1)log𝑝𝑞⌋, by
Remark 5.6(i).
Their difference is 𝑔𝑞 or 𝑔𝑞 +1. The gaps give a finite memory of
the last occurrences. We use it to enclose tails of every allowed path,
a class containing all sufficiently late arithmetic paths but possibly
others. Separation on this larger class suffices for recovery; overlap
need not give equal arithmetic tails. The memory sharpens the
enclosures, but the decoder must ultimately work without being told the
state.
These constraints define a finite automaton. Its states are the
tuples 𝑠 =(𝑠𝑞)𝑞∈𝑄 with 1 ≤𝑠𝑞 ≤𝑔𝑞 +1; the entry 𝑠𝑞 counts the blocks since the last
block containing a power of 𝑞. A
transition from 𝑠 is a
pair (𝜏,𝑠′) in which 𝜏 is an ordering of a set 𝑇 ⊆𝑄 with
{𝑞:𝑠𝑞=𝑔𝑞+1}⊆𝑇⊆{𝑞:𝑠𝑞≥𝑔𝑞},
and 𝑠′𝑞 =1 for
𝑞 ∈𝑇, 𝑠′𝑞 =𝑠𝑞 +1 for 𝑞 ∉𝑇. A path from 𝑠 is a sequence of transitions (𝑢1,𝑠1),(𝑢2,𝑠2),… with (𝑢1,𝑠1) a transition from 𝑠 and each (𝑢𝑖+1,𝑠𝑖+1) a transition from 𝑠𝑖. The value of an infinite
path is the limit of 𝐺𝑢1 ∘⋯ ∘𝐺𝑢𝑛(𝑦) as 𝑛 →∞;
by Remark 5.6(ii)
these numbers lie, for 𝑦 ∈[0,1/(𝑝 −1)], in nested intervals of
length at most 𝑝−𝑛/(𝑝 −1), so the
limit exists and does not depend on 𝑦.
Every prime 𝑞 ∈𝑄 lies in block
𝑔𝑞. For 𝑎 >max𝑞𝑔𝑞 let 𝑠𝑎 record, for each 𝑞, the number 𝑎 −ℓ, where ℓ <𝑎 is the index of the last block
before 𝑎 containing a power of
𝑞. The next such block has index
ℓ +𝑔𝑞 or ℓ +𝑔𝑞 +1, and it is at least 𝑎. Hence 𝑠𝑎 is a state, block 𝑎 contains a power of 𝑞 when (𝑠𝑎)𝑞 =𝑔𝑞 +1 and does not when (𝑠𝑎)𝑞 <𝑔𝑞, and (𝜏𝑎,𝑠𝑎+1) is a transition from
𝑠𝑎. Since 𝑌𝑎 =𝐺𝜏𝑎 ∘⋯ ∘𝐺𝜏𝑎+𝑛−1(𝑌𝑎+𝑛) with 𝑌𝑎+𝑛 ∈[0,1/(𝑝 −1)], the tail 𝑌𝑎 is the value of the actual path (𝜏𝑎,𝑠𝑎+1),(𝜏𝑎+1,𝑠𝑎+2),…
from 𝑠𝑎.
The union defining 𝑈𝜏 runs
over all starting states. Thus membership can identify the
first block from 𝑌𝑎 alone;
separating types only within each known state would not give this
conclusion.
Proof. Let 𝑎 >max𝑞𝑔𝑞. The first 𝑘 transitions of the actual path from
𝑠𝑎 form a path of length 𝑘 with first type 𝜏𝑎, and 𝑌𝑎 =𝐺𝜏𝑎 ∘⋯ ∘𝐺𝜏𝑎+𝑘−1(𝑌𝑎+𝑘), where 𝑌𝑎+𝑘 ∈𝐽(𝑠𝑎+𝑘) because it is the
value of an infinite path from 𝑠𝑎+𝑘. Thus 𝑌𝑎 ∈𝑈𝜏𝑎, and by disjointness
𝜏𝑎 is the only type with this
property. So 𝑌𝑎 determines 𝜏𝑎, then 𝑌𝑎+1 =𝑏𝜏𝑎𝑌𝑎 −𝜇𝜏𝑎, and
by induction the word 𝜏𝑎𝜏𝑎+1⋯.
Suppose D𝑃 =𝑁/𝐾. By
Remark 5.6(ii)
and (iii), the numbers 𝐾𝑌𝑎 are
integers in [0,𝐾/(𝑝 −1)], so 𝑌𝑎 =𝑌𝑎′ for some max𝑞𝑔𝑞 <𝑎 <𝑎′, and the word
(𝜏𝑎) is eventually periodic.
Fix 𝑞 ∈𝑄 and put 𝛽 =log𝑝/log𝑞, which lies in (0,1) and is irrational because no power
of 𝑝 equals a power of 𝑞. By Remark 5.6(i),
block 𝑎 contains ⌊(𝑎 +1)𝛽⌋ −⌊𝑎𝛽⌋ powers of 𝑞,
a number recorded by 𝜏𝑎. As in
the proof of Theorem 1.1,
eventual periodicity with period ℓ forces ℓ𝛽 ∈ℤ, a contradiction. ◻
Intervals 𝐽(𝑠) with the required
property are easy to produce. The constant interval [0,1/(𝑝 −1)] qualifies by Remark 5.6(ii).
If a family 𝐽 qualifies, so does
any family 𝐽′ with
𝐽′(𝑠)⊇𝐺𝜏(𝐽(𝑠′))for every transition (𝜏,𝑠′) from 𝑠,
because an infinite path from
𝑠 is a transition (𝜏,𝑠′) followed by an infinite
path from 𝑠′. Starting from the
constant family, take the interval hull of the images and round its
endpoints outwards. Every round preserves containment, though a hull may
fill genuine gaps. Keep the separate image intervals when forming the
final unions 𝑈𝜏. The smallest
enclosing interval at state 𝑠 is
𝐽(𝑠) =[𝐿(𝑠),𝑈(𝑠)], where 𝐿(𝑠) and 𝑈(𝑠) are the least and greatest
infinite-path values. They satisfy 𝐿(𝑠) =min𝐺𝜏(𝐿(𝑠′)) and 𝑈(𝑠) =max𝐺𝜏(𝑈(𝑠′)) over the transitions from 𝑠, and these equations have unique
solutions because each 𝐺𝜏
contracts by at least the factor 1/𝑝.
For {2,3,5} the constant
interval 𝐼 =[3/10,13/15] has the
required property: every path takes a transition with 5 ∈𝑇 within any three steps, which is
the only fact the bounds used. With 𝑘 =1 the criterion is then the proof given
above.