alphaFeedback

WorksMathematics

Integrality of iterated averages and pointwise prime powers

AI contributions
  • OpenAI ChatGPT 6
View details

Abstract

Suppose that we repeatedly replace the values of an integer-valued function on Z\Z by averages over pp consecutive arguments, where pp is prime. If the first ℓ\ell rounds of averaging give integers, will this remain true when we begin with the ppth powers of the original values? We prove that the answer is yes for ℓ≤p\ell\le p. For p=2p=2 and p=3p=3, the answer is yes for every ℓ\ell, and therefore also when integrality is required at every stage. For larger primes, a known counterexample first fails at round p+1p+1. The proofs use finite differences and polynomial interpolation. We also explain connections with earlier work on divisibility of finite differences and Stirling numbers.

Manifest. This is an answer to MathOverflow question #68595 (which also gives a new answer to #66959). It was produced by GPT-6 Astra (Researcher subscription). The main proof was found in one 3-minute shot, and expanded and polished over several rounds of edits. I have proofread the whole text except for Section § 8. This text is in the public domain. –Darij

Statement and finite differences

Start with an integer-valued function on the integers. Replace each value by the average of that value and the next p−1p-1 values, where pp is a prime. The new values need not be integers. If they are, we can repeat the operation and ask whether they remain integers at each stage. A classical olympiad problem, proposed by D. Tamarkin at the All-Russian Mathematical Olympiad 1993 [9], concerns this process for p=2p = 2: It claims that if every stage is integer-valued, then the same is true when we start with the squares of the original values. In this note, we consider the case of general pp and taking the entries to the ppth power; we also ask what happens when we assume integrality for only finitely many stages. The results revealed are weaker but no less beautiful.

We begin by fixing the notation. We consider the Q\mathbb{Q}-vector space QZ\mathbb{Q}^{\mathbb{Z}}, which consists of all functions f:Z→Qf : \mathbb{Z} \to\mathbb{Q}. These functions can be regarded as infinite sequences

(…,f(−2),f(−1),f(0),f(1),f(2),…)(\ldots, f(-2), f(-1), f(0), f(1), f(2), \ldots)

(infinite in both directions). Such a function f:Z→Qf:\mathbb{Z}\to\mathbb{Q} is said to be integral if all its values f(n)f(n) are integers, i.e., if f∈ZZf\in\mathbb{Z}^{\mathbb{Z}}. Sums, differences, and integer multiples of integral functions are again integral; in other words, ZZ\mathbb{Z}^{\mathbb{Z}} is a Z\mathbb{Z}-submodule of QZ\mathbb{Q}^{\mathbb{Z}}.

We shall consider linear (that is, Q\mathbb{Q}-linear) operators on QZ\mathbb{Q}^{\mathbb{Z}} such as the shift and finite-difference operators defined below. Here linearity means that A(af+bg)=aAf+bAgA(af+bg)=aAf+bAg for rational numbers a,ba,b and functions f,gf,g. If AA is such an operator and f∈QZf\in\mathbb{Q}^{\mathbb{Z}} is a function, then we will write Af(n)Af(n) for the value (Af)(n)(Af)(n).

Fix a prime pp. Define a linear operator Fp:QZ→QZF_p:\mathbb{Q}^{\mathbb{Z}}\to\mathbb{Q}^{\mathbb{Z}} (called the averaging operator) by

(Fpf)(n)=1p∑r=0p−1f(n+r)for all f∈QZ and n∈Z.(F_pf)(n)=\frac{1}{p}\sum_{r=0}^{p-1}f(n+r)\qquad\text{for all }f\in\mathbb{Q}^{\mathbb{Z}}\text{ and }n\in\mathbb{Z}.

That is, FpF_p acts on a function ff by replacing each value f(n)f(n) by the average of pp consecutive values (starting with f(n)f(n)). Furthermore, for a function f:Z→Qf:\mathbb{Z}\to\mathbb{Q}, define the function fp:Z→Qf^p:\mathbb{Z}\to\mathbb{Q} by

fp(n)=f(n)pfor all n∈Z.f^p(n)=f(n)^p\qquad\text{for all }n\in\mathbb{Z}.

Operator powers mean repeated application: Fp2f=Fp(Fpf)F_p^2f=F_p(F_pf), and Fp0f=fF_p^0f=f. These are different from the pointwise powers fpf^p.

A function f:Z→Qf:\mathbb{Z}\to\mathbb{Q} will be called ℓ\ell-average-integral for a given nonnegative integer ℓ\ell if FpkfF_p^kf is integral for every 0≤k≤ℓ0\leq k\leq\ell. Note that an ℓ\ell-average-integral function ff is thus automatically integral (since we can take k=0k=0 and obtain the integrality of Fpkf=Fp0f=fF_p^kf=F_p^0f=f). Thus the parameter ℓ\ell in “ℓ\ell-average-integral” records how many successive averaging steps we require to give integers.

We say that f:Z→Qf:\mathbb{Z}\to\mathbb{Q} is average-integral if FpkfF_p^kf is integral for every k≥0k\geq0. Of course, this is the same as being ℓ\ell-average-integral for all ℓ≥0\ell\geq0 simultaneously. For example, when p=2p=2, the function f:n↦2nf:n\mapsto2n is average-integral: its kkth average-iterate FpkfF_p^kf is n↦2n+kn\mapsto2n+k.

We will prove the following two properties of ℓ\ell-average-integrality:

Theorem 1.1. Let 0≤ℓ≤p0\leq\ell\leq p. If f:Z→Zf:\mathbb{Z}\to\mathbb{Z} is ℓ\ell-average-integral, then fpf^p is ℓ\ell-average-integral.

Theorem 1.2. Let ℓ≥0\ell\geq0 be arbitrary.

  1. For p=2p=2, the ℓ\ell-average-integral functions form a ring under pointwise addition and pointwise multiplication.

  1. For p=3p=3, if ff is ℓ\ell-average-integral, then f3f^3 is ℓ\ell-average-integral.

Corollary 1.3. The set of all average-integral functions is closed under pointwise products for p=2p=2 and under pointwise cubes (i.e., under the map f↦f3f\mapsto f^3) for $p=3.

Theorem 1.1 answers a question asked in [1]. Corollary 1.3 was already discussed in [2]. For primes p>3p>3, the bound in Theorem 1.1 cannot be increased: Proposition 6.1 gives a function whose ppth power first fails at round p+1p+1.

Our proofs use several ideas suggested by Zarathustra Brady (“zeb” on MathOverflow) in his answer to [2]. They have two major ingredients in common. First we translate integrality of averages into divisibility of finite differences. Then we use polynomial interpolation to study these divisibilities on a finite interval. This proves Theorem 1.1 in § 3. To handle arbitrarily many rounds for p=2,3p=2,3 (and thus prove Theorem 1.2 and Corollary 1.3), we will need a fuller description of the polynomials that remain integral under averaging. Our main tool is the finite difference operator Δ:QZ→QZ\Delta:\mathbb{Q}^{\mathbb{Z}}\to\mathbb{Q}^{\mathbb{Z}} defined by

Δf(n)=f(n+1)−f(n)for all f∈QZ and n∈Z.\Delta f(n)=f(n+1)-f(n) \qquad\text{for all } f\in\mathbb{Q}^{\mathbb{Z}}\text{ and }n\in\mathbb{Z}.

Unlike averaging, taking a finite difference always preserves integrality; i.e., we have Δf∈ZZ\Delta f\in\mathbb{Z}^{\mathbb{Z}} for each f∈ZZf\in\mathbb{Z}^{\mathbb{Z}}. We will express the condition on repeated averages as a condition on the divisibility of repeated differences.

Define the shift operator E:QZ→QZE:\mathbb{Q}^{\mathbb{Z}}\to\mathbb{Q}^{\mathbb{Z}} by

Ef(n)=f(n+1)for all f∈QZ and n∈Z.Ef(n)=f(n+1) \qquad\text{for all } f\in\mathbb{Q}^{\mathbb{Z}}\text{ and }n\in\mathbb{Z}.

Thus, Δ=E−id⁡\Delta=E-\operatorname{id}. All three operators FpF_p, EE, and Δ\Delta are Q\mathbb{Q}-linear endomorphisms of QZ\mathbb{Q}^{\mathbb{Z}}. The latter two preserve ZZ\mathbb{Z}^{\mathbb{Z}}. The first few differences of a function f:Z→Qf:\mathbb{Z}\to\mathbb{Q} are

Δf(n)=f(n+1)−f(n),Δ2f(n)=f(n+2)−2f(n+1)+f(n).\Delta f(n)=f(n+1)-f(n), \qquad\Delta^2f(n)=f(n+2)-2f(n+1)+f(n).

Set q=p−1q=p-1. All divisibility statements about functions below are pointwise: for example, Δjf∈pkZZ\Delta^j f\in p^k\mathbb{Z}^{\mathbb{Z}} means that pkp^k divides Δjf(n)\Delta^j f(n) for every integer nn. The next lemma says that – as far as integrality is concerned – one averaging step “corresponds” to a block of q=p−1q=p-1 difference steps. For instance, when p=3p=3 and ff is integral, two integral averaging steps are equivalent to the two conditions 3∣Δ2f(n)3\mid\Delta^2f(n) and 9∣Δ4f(n)9\mid\Delta^4f(n) for every nn.

Lemma 1.4 (Difference criterion). For a function f:Z→Qf:\mathbb{Z}\to\mathbb{Q} and any nonnegative integer ℓ≥0\ell\geq0, the following conditions are equivalent:

  1. The function ff is ℓ\ell-average-integral.

  2. We have Δkqf∈pkZZ\Delta^{kq}f\in p^k\mathbb{Z}^{\mathbb{Z}} for all 0≤k≤ℓ0\leq k\leq\ell.

  3. We have Δjf∈p⌊j/q⌋ZZ\Delta^j f\in p^{\lfloor j/q\rfloor}\mathbb{Z}^{\mathbb{Z}} for all 0≤j≤ℓq0\leq j\leq\ell q.

Proof. We assume that ff is integral, since all three of the ostensibly equivalent conditions imply this.2

We first compare one averaging step with qq difference steps. If A(X)=∑iaiXiA(X)=\sum_i a_iX^i is a polynomial, then A(E)A(E) means the operator ∑iaiEi\sum_i a_iE^i. Since (Eif)(n)=f(n+i)(E^i f)(n)=f(n+i), we can rewrite the definition of FpF_p as

Fp=1p(id⁡+E+⋯+Ep−1).(1)F_p=\frac{1}{p}\left(\operatorname{id}+E+\cdots+E^{p-1}\right). \tag*{(1)}

Hence,

pFp=id⁡+E+⋯+Ep−1.(2)pF_p=\operatorname{id}+E+\cdots+E^{p-1}. \tag*{(2)}

Moreover, from Δ=E−id\Delta= E - \mathrm{id} and q=p−1q = p - 1, we obtain Δq=(E−id)p−1\Delta^{q} = (E - \mathrm{id})^{p-1}. These formulas explain why the following polynomial congruence is useful:

1+X+⋯+Xp−1≡(X−1)p−1(modp).(3)1 + X + \cdots+ X^{p-1} \equiv(X - 1)^{p-1} \pmod{p}. \tag*{(3)}

To see this congruence, reduce modulo pp and use Xp−1=(X−1)pX^{p} - 1 = (X - 1)^{p}. Dividing both sides by X−1X - 1 in the polynomial ring Fp[X]\mathbb{F}_{p}[X] gives the congruence (3). That is, in Z[X]\mathbb{Z}[X], we have

1+X+⋯+Xp−1=(X−1)p−1+pB(X)for some B(X)∈Z[X].1 + X + \cdots+ X^{p-1} = (X - 1)^{p-1} + pB(X) \qquad\text{for some } B(X) \in\mathbb{Z}[X].

Now substitute the shift operator EE for XX in this equality. This gives the operator identity

pFp=Δq+pB(E)pF_{p} = \Delta^{q} + pB(E)

(since pFp=id+E+⋯+Ep−1pF_{p} = \mathrm{id} + E + \cdots+ E^{p-1} and Δq=(E−id)p−1\Delta^{q} = (E - \mathrm{id})^{p-1}). Putting

References

  1. [1]Darij Grinberg, Generalization of Tamarkin’s ARO 1993, final round, problem 10/8: part II, MathOverflow question 68595, June 23, 2011. https://mathoverflow.net/q/68595.
  2. [2]Darij Grinberg, Generalization of Tamarkin’s ARO 1993, final round, problem 10/8: still a conjecture?, MathOverflow question 66959, June 5, 2011. https://mathoverflow.net/q/66959.
  3. [3]zeb, Answer to MathOverflow question 66959, June 16, 2011 (counterexample and the weighted-monomial criterion). https://mathoverflow.net/a/68000.
  4. [4]Zhi-Hong Sun, Congruences concerning Bernoulli numbers and Bernoulli polynomials, Discrete Applied Mathematics 105 (2000), 193–223. doi:10.1016/S0166-218X(00)00184-0.DOI
  5. [5]Bernd C. Kellner, Classification of p-adic functions satisfying Kummer type congruences, preprint, 2009, arXiv:0909.0743v2. https://arxiv.org/abs/0909.0743.
  6. [6]Kurt Mahler, An interpolation series for continuous functions of a p-adic variable, Journal für die reine und angewandte Mathematik 199 (1958), 23–34. doi:10.1515/crll.1958.199.23.DOI
  7. [7]Arnold Adelberg, The p-adic analysis of Stirling numbers via higher order Bernoulli numbers, International Journal of Number Theory 14 (2018), no. 10, 2767–2779. Preprint: https://arxiv.org/abs/1805.00995; Lemma 2.1.
  8. [8]Ira M. Gessel, Applications of the classical umbral calculus, Algebra Universalis 49 (2003), no. 4, 397–434. doi:10.1007/s00012-003-1813-5. Preprint: https://arxiv.org/abs/math/0108121.
  9. [9]D. Tamarkin, Problem 8 for grade 10, final round of the 1993 All-Russian Mathematical Olympiad. Archived statement and solution, Problems.ru, problem 109520. https://problems.ru/view_problem_details_new.php?id=109520.

Paper details

vlnc:W_ncj89tdu
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 8

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC0-1.0

Original source

  • Mathematics

OpenAI ChatGPT 6 · View statement →

Looking for related papers…
Contents