Reduced coefficients
Reduction modulo 𝑚 restores the
boundedness missing from 𝜑.
The short paper isolates a prescribed nonzero coefficient between two
long zero blocks: a hypothetical rational denominator forces the right
tail to vanish, after which the left block makes the nonzero centre too
small. CRT creates the blocks by imposing a separate prime divisor
congruent to 1(mod𝑚) at each
neighbour. We extend that proof in two directions. Changing the integer
base changes only the geometric tail bound. Combining dilations is
subtler: one must first ensure that their contributions cannot cancel at
the chosen centre.
Proof. For coefficients bounded by 𝐶, the right-block tail is at most 𝐶𝑡−𝐿/(𝑡 −1) ≤𝐶𝑡−𝐿. Choose 𝐿 with 𝐶𝑡−𝐿 <1/𝑞; the rational-tail lattice
forces that tail to be zero. The left-block tail is then the isolated
coefficient times 𝑡−𝐿−1, giving
the same contradiction as in the short paper. In (b), the two
exceptional terms contribute (𝑡 +1)𝑓(1)/𝑡2 and the constant tail
contributes 𝑓(0)/(𝑡2(𝑡 −1)), since
all totients after 𝑛 =2 are
even. ◻
For example, in base 2 the
function modulo 4 with 𝑓(0) =𝑓(2) =5, 𝑓(1) =7 and 𝑓(3) = −2 gives the rational value 3 ⋅7/4 +5/4 =13/2: the class 3 never occurs. In contrast, the
indicator of the class 2(mod4)
gives an irrational value. This classification uses the fact that the
prime centres 𝑠 −1, with 𝑠 a unit, cover every even class modulo
2𝑘. Modulo 6 they cover only 0 and 4. The least-residue assertion needs one
nonzero accessible centre, but the same argument does not classify all
rational-valued functions for a general modulus.
Proposition 1.11 (Finitely many dilations). Let
𝑡 ≥2 be an integer.
For every 𝑚 ≥3, the
numbers 1 and ∑𝑛≥1(𝜑(𝑛)mod𝑚) 𝑡−𝑑𝑛,
𝑑 =1,2,…, are linearly
independent over ℚ (linearIndependent_one_and_least_residue_values).
Let 𝐷 be a finite set of
positive integers, and for 𝑑 ∈𝐷
let 𝑘𝑑 ≥1 and 𝑓𝑑 :ℤ/2𝑘𝑑ℤ →ℚ.
For every 𝑐 ∈ℚ, the
number
𝑐+∑𝑑∈𝐷∑𝑛≥1𝑓𝑑(𝜑(𝑛)mod2𝑘𝑑)𝑡−𝑑𝑛
is
rational exactly when every 𝑓𝑑 is
constant on the even residue classes (rational_mixed_moduli_with_constant_iff).
Proof. (a) A relation gives integers 𝑐0 and 𝑐𝑑, 𝑑 in a finite set 𝐷 of positive integers, with some 𝑐𝑑 ≠0 and 𝑐0 +∑𝑁≥1𝑏𝑁𝑡−𝑁 =0, where 𝑏𝑁 =∑𝑑∈𝐷,𝑑∣𝑁𝑐𝑑(𝜑(𝑁/𝑑)mod𝑚) is bounded. Discard the
𝑑 with 𝑐𝑑 =0 and let 𝛿 be the least remaining one.
Different dilations can contribute to the same exponent 𝑁, so isolating a prime in one summand is
not enough. Choose instead 𝑁 =𝛿𝑝 with 𝑝 >max𝐷 prime.
A contributing 𝑑 divides 𝛿𝑝; since 𝑝 ∤𝑑, it divides 𝛿. Minimality then forces 𝑑 =𝛿. The centre now receives exactly
one active contribution, while CRT will remove all contributions at its
neighbours.
Given 𝐿, choose distinct primes
𝑞𝑗 ≡1(mod𝑚), 0 <|𝑗| ≤𝐿, each larger than 𝐿 and than every element of 𝐷. Impose
𝑝≡−1(mod𝑚),𝑝≡−𝑗𝛿−1(mod𝑞𝑗)(0<|𝑗|≤𝐿).
The inverse
exists because 𝑞𝑗 >𝛿, and
the latter residue is nonzero because 𝑞𝑗 >|𝑗|. Together with the unit
residue −1 modulo 𝑚, these congruences define a reduced
progression. CRT and Dirichlet’s theorem give a prime 𝑝 as large as needed. At the centre,
𝑏𝛿𝑝 =𝑐𝛿(𝑚 −2) ≠0. At
a neighbour 𝛿𝑝 +𝑗, every
contributing dilation 𝑑 is coprime
to 𝑞𝑗, so 𝑞𝑗 ∣(𝛿𝑝 +𝑗)/𝑑 and 𝑚 ∣𝜑((𝛿𝑝 +𝑗)/𝑑). Hence 𝑏𝛿𝑝+𝑗 =0. The isolated
coefficient makes ∑𝑁𝑏𝑁𝑡−𝑁
irrational, contradicting 𝑐0 ∈ℤ.
(b) Each 𝑓𝑑 that is constant on
the even classes contributes a rational number, by Proposition 1.10(b) in base 𝑡𝑑. Remove these contributions, lift the
remaining functions to one modulus 2𝐾, subtract their values at zero, and
clear a common denominator. None of these operations changes
rationality. For the least remaining dilation 𝛿, choose an even residue 𝑟 with 𝑓𝛿(𝑟) ≠𝑓𝛿(0). Use the
construction in (a), now with 𝑞𝑗 ≡1(mod2𝐾) and 𝑝 ≡𝑟 +1(mod2𝐾). The central
residue is allowed because 𝑟 +1 is
odd. Minimality again leaves just the nonzero contribution from 𝛿 at the centre, while every
neighbouring totient is zero modulo 2𝐾 and hence contributes zero after the
subtraction. The same bounded integer-coefficient argument
applies. ◻
Remark 1.12 (Slowly growing dyadic moduli). Let 𝜅 :ℕ →ℕ satisfy
2𝜅(𝑛) =𝑜(log𝑛), and put
𝑎𝑛 =𝜑(𝑛)mod2𝜅(𝑛).
Then ∑𝑛≥1𝑎𝑛2−𝑛 is
rational exactly when 𝑎𝑛 =0 for all
large 𝑛. In particular the sum is
irrational when 𝜅(3𝑘) ≥2 for
infinitely many 𝑘.
Proof. If 𝑎𝑛 vanishes
eventually the sum is finite. Suppose instead that 𝑎𝑛 ≠0 infinitely often and that the sum
equals 𝑢/𝑣. Then 𝑇𝑁 =∑𝑗≥1𝑎𝑁+𝑗2−𝑗 lies in
𝑣−1ℤ for every 𝑁. For 1 ≤𝑗 ≤𝐿 let 𝑞𝑗 be a prime
factor of the Fermat number 22𝑗 +1; then 𝑞𝑗 ≡1(mod2𝑗+1), and the 𝑞𝑗 are distinct because distinct Fermat
numbers are coprime. Put 𝑄 =𝑞1⋯𝑞𝐿, so 𝑄 <22𝐿+1.
These factors give a size bound as well as the needed divisibility:
log𝑄 =𝑂(2𝐿). The factor 2−𝐿 in the remaining tail will offset
this growth, leaving the arbitrarily small constant from 2𝜅(𝑛) =𝑜(log𝑛). Given 𝑀, the Chinese remainder theorem gives
𝑁 ∈[𝑀,𝑀 +𝑄) with 𝑞𝑗 ∣𝑁 +𝑗 for 1 ≤𝑗 ≤𝐿. Then 2𝑗+1 ∣𝜑(𝑁 +𝑗), so 2𝑗 ∣𝑎𝑁+𝑗: either 𝜅(𝑁 +𝑗) ≤𝑗 and 𝑎𝑁+𝑗 =0, or 2𝑗 divides both 𝜑(𝑁 +𝑗) and the modulus. Hence 𝑇𝑁 differs from an integer by ∑𝑗>𝐿𝑎𝑁+𝑗2−𝑗, which is
positive because 𝑎𝑛 ≠0 infinitely
often, and at most ∑𝑗>𝐿2𝜅(𝑁+𝑗)−𝑗. Choose
𝜖 >0 with 3𝜖 <1/𝑣, then 𝑀 with 2𝜅(𝑛) ≤𝜖log𝑛 for 𝑛 ≥𝑀, then 𝐿 ≥2 so large that 𝑄 ≥𝑀. Then 𝑁 <𝑀 +𝑄 ≤2𝑄 and log(𝑁 +𝑗) ≤log(2𝑄) +𝑗 ≤2𝐿+1 +𝑗, so
the tail is at most 𝜖2−𝐿(2𝐿+1 +𝐿 +2) ≤3𝜖 <1/𝑣.
It is a positive element of 𝑣−1ℤ below 1/𝑣, a contradiction. Finally 𝜑(3𝑘) =2 ⋅3𝑘−1 is not
divisible by 4, so 𝑎3𝑘 ≠0 whenever 𝜅(3𝑘) ≥2. ◻
Remark 1.13 (Earlier results and the reduced coefficients).
Proposition 1.10(a), and with it
the first assertion of the short paper’s residue theorem, already
follows from Erdős’s Lemma 1 of [6]: if integers 𝑎𝑘 ≥0 have ∑𝑘≤𝑛𝑎𝑘 =𝑂(𝑛), infinitely many
𝑎𝑘 ≠0, and lim inf𝑛#{𝑘 ≤𝑛 :𝑎𝑘 >0}/𝑛 =0, then
∑𝑘𝑎𝑘𝑡−𝑘 is irrational for
every integer 𝑡 ≥2. Erdős notes
that this is the case 𝑏𝑘 =0 of his
Lemma 4 (stated pp. 215–216, proved pp. 216–218). For 𝑎𝑛 =𝜑(𝑛)mod𝑚 the hypotheses
hold: 𝑎𝑛 ≠0 forces 𝑛 to have no prime factor 𝑝 ≡1(mod𝑚), and such 𝑛 have density zero because ∑𝑝≡1 (𝑚)1/𝑝 diverges, while
𝑎𝑝 =𝑚 −2 for every prime 𝑝 ≡ −1(mod𝑚). Erdős’s Lemma 4′ (p. 218, proof omitted there) and
Theorem 3 of Kaneko, Suzuki and Tachiya [7] give the same conclusion; the latter paper
proves Lemma 4′ as its
Theorem A (pp. 2 and 18). The same argument covers Proposition 1.10(b) and
Proposition 1.11
when the values 𝑓(𝑟) −𝑓(0),
respectively the coefficients 𝑐𝑑,
have one sign. With both signs present, Lemmas 4 and 4′ and Theorem 3 of [7] require an additional
spacing condition on the negative terms, which is not checked here; the
isolated coefficient needs none. Theorem 3 of [7], with 𝑏 =0 and 𝑧𝑛 =log2log𝑥𝑛, also gives the
irrational direction of Remark 1.12 once the 𝑛 <𝑥 with 𝑣2(𝜑(𝑛)) <log2log𝑥 are shown
to number 𝑜(𝑥/loglog𝑥); this
record does not write out that density estimate. Wong’s
base-equals-modulus theorem [5] is the case 𝑡 =𝑚 of Proposition 1.10(a).