betaFeedback

WorksMathematics

Consecutive sums and Reconstructing Problems

Abstract

We study several problems concerning consecutive sums of integer sequences and their relationship with Sidon sets. We also provide new lower bounds for an extremal function related to sequences with distinct consecutive sums, and consider reconstruction problems from multisets of consecutive sums.

Introduction

A classical problem, posed by Erdős and Harzheim, asks whether one can find a sequence of integers bounded by nn such that all of its consecutive sums are pairwise different. The first named author addressed this problem by revealing a connection to Sidon sets: the condition that all consecutive sums are distinct implies that the sequence of their prefix sums forms a Sidon sequence.

These results, together with subsequent developments in inverse additive combinatorics (cf. for instance Beker [1], Tao [T]), demonstrate how structural properties of a sequence can be deduced from information about its consecutive sums.

In this paper, we investigate several related questions: ranging from connections between convexity and Sidon properties, extremal problems and reconstruction algorithms (see related results [3], [4]).

The paper is organized as follows. In § 2, we investigate convex sequences and their relationship with Sidon sets. In § 3, we establish lower bounds for the extremal function f(a,K)f(a, K) related to consecutive sums. Finally, in § 4, we study reconstruction from consecutive sums in one dimension and from block-sums in two dimensions.

Convex sequences vs. Sidon sets

Throughout the paper, we use the convention N={1,2,3,…}\mathbb{N} = \{1,2,3,\ldots\}. We use the standard definition of a Sidon set: a set A⊂ZA \subset\mathbb{Z} is called a Sidon set if

x1+x2=x3+x4,x1,x2,x3,x4∈A,x_1+x_2=x_3+x_4,\qquad x_1,x_2,x_3,x_4\in A,

implies {x1,x2}={x3,x4}\{x_1,x_2\}=\{x_3,x_4\} as unordered multisets. Repeated summands are allowed.

A classical example of a convex sequence is the sequence of squares, which is not a Sidon sequence. Of course, there are also sequences that are both convex and Sidon. The simplest example is T={2n}n≥0T=\{2^n\}_{n\ge0}. A denser sequence is due to Ruzsa. He proved that there exists an irrational number cc (where 0<c<10<c<1) such that the sequence generated by the following formula forms an infinite Sidon sequence:

rn=n5+⌊c⋅n4⌋.r_n=n^5+\lfloor c\cdot n^4\rfloor.

In particular, there exists a fixed N0N_0 such that {rn}n≥N0\{r_n\}_{n\ge N_0} is a convex sequence. More generally, he proved the following theorem.

Theorem 2.1 (Ruzsa [5]). Let α,β\alpha,\beta be real numbers satisfying α>4\alpha>4, α>β>3+1/(α−1)\alpha>\beta>3+1/(\alpha-1). Write f(n)=⌊nα+ξnβ⌋f(n)=\lfloor n^\alpha+\xi n^\beta\rfloor. For almost every ξ∈[0,1]\xi\in[0,1] there exists some n0n_0 (depending on α,β,ξ\alpha,\beta,\xi) such that the set A={f(n):n>n0}A=\{f(n):n>n_0\} is a Sidon set.

The question arises: What is the degree of a generalized polynomial that is a Sidon sequence?

Definition. Generalized polynomials are functions (or sequences) constructed from conventional polynomials, with the allowance of an additional operation: the application of the floor function (⌊⋯ ⌋\lfloor\cdots\rfloor) or the fractional part function ({⋯ }\{\cdots\}).

For example ⌊2x⌋\lfloor\sqrt{2}x\rfloor, ⌊3x⌊x2+⌊5x⌋⌋⌋\lfloor\sqrt{3x\lfloor x^2+\lfloor\sqrt{5}x\rfloor\rfloor}\rfloor are generalized polynomials. In the rest we consider generalized polynomials P:N→RP:\mathbb{N}\to\mathbb{R}.

We now study a class of quadratic generalized polynomials for which strict convexity can be guaranteed, and ask whether they can form infinite Sidon sequences.

Definition. Let P\mathcal{P} be the class of integer-valued sequences of the form

P(n)=c1n2+∑i=1kc2,i⌊αin2+νin+μi⌋+L(n),n∈N,P(n)=c_1n^2+\sum_{i=1}^{k}c_{2,i}\left\lfloor\alpha_i n^2+\nu_i n+\mu_i\right\rfloor+L(n),\qquad n\in\mathbb{N},

where k≥0k\geq0 is fixed, all coefficients are real, and L(n)L(n) is a generalized polynomial of degree at most one satisfying

DL:=sup⁡n≥1∣L(n+2)−2L(n+1)+L(n)∣<∞.D_L:=\sup_{n\geq1}\left|L(n+2)-2L(n+1)+L(n)\right|<\infty.

We additionally require

c1+∑i=1kc2,iαi>∑i=1k∣c2,i∣+DL2.c_1+\sum_{i=1}^{k}c_{2,i}\alpha_i>\sum_{i=1}^{k}|c_{2,i}|+\frac{D_L}{2}.

Theorem 2.2. Every sequence P∈PP\in\mathcal{P} is strictly convex. Moreover, the set {P(n):n≥1}\{P(n):n\geq1\} is not a Sidon set.

Proof. Write

c=c1+∑i=1kc2,iαi,qi(n)=αin2+νin+μi,c=c_1+\sum_{i=1}^{k}c_{2,i}\alpha_i,\qquad q_i(n)=\alpha_i n^2+\nu_i n+\mu_i,

and let Δs(n)=s(n+1)−s(n)\Delta s(n)=s(n+1)-s(n). For θi(n)={qi(n)}∈[0,1)\theta_i(n)=\{q_i(n)\}\in[0,1), we have ∣Δ2θi(n)∣<2|\Delta^2\theta_i(n)|<2 and Δ2⌊qi(n)⌋=2αi−Δ2θi(n)\Delta^2\lfloor q_i(n)\rfloor=2\alpha_i-\Delta^2\theta_i(n). Consequently,

Δ2P(n)=2c−∑i=1kc2,iΔ2θi(n)+Δ2L(n).\Delta^2P(n)=2c-\sum_{i=1}^{k}c_{2,i}\Delta^2\theta_i(n)+\Delta^2L(n).

Set

δ=2c−2∑i=1k∣c2,i∣−DL>0,B=2c+2∑i=1k∣c2,i∣+DL.\delta=2c-2\sum_{i=1}^{k}|c_{2,i}|-D_L>0,\qquad B=2c+2\sum_{i=1}^{k}|c_{2,i}|+D_L.

::: Then for every n≥1n \ge1,

0<δ≤Δ2P(n)≤B<∞.0 < \delta\le\Delta^2 P(n) \le B < \infty.

Thus PP is strictly convex. In particular, its first differences ΔP(n)\Delta P(n) are strictly increasing and tend to infinity, so there exists n0n_0 such that ΔP(n)>0\Delta P(n) > 0 for all n≥n0n \ge n_0.

For r≥1r \ge1, let

br=P(n0+r)−P(n0+r−1).b_r = P(n_0 + r) - P(n_0 + r - 1).

The brb_r are positive integers, and

0<br+1−br=Δ2P(n0+r−1)≤B.0 < b_{r+1} - b_r = \Delta^2 P(n_0 + r - 1) \le B.

Choose a positive integer K≥BK \ge B. If the values of PP formed an infinite Sidon set, then all the consecutive sums of the sequence (br)r≥1(b_r)_{r \ge1} would be distinct: indeed, these sums are the positive differences

∑r=uvbr=P(n0+v)−P(n0+u−1),1≤u≤v,\sum_{r=u}^{v} b_r = P(n_0 + v) - P(n_0 + u - 1), \qquad1 \le u \le v,

and a Sidon set has distinct positive differences. Therefore, by Theorem 3.1, we have bm≤f(b1,K)b_m \le f(b_1, K) for every m≥1m \ge1. But bm≥b1+m−1b_m \ge b_1 + m - 1 because the brb_r are strictly increasing integers. This contradiction proves that PP cannot form an infinite Sidon set. □

Remark. One might ask why we set a condition on the coefficients in the definition of PP. To see why some restriction is needed, observe that for every k∈Nk \in\mathbb{N} and every sufficiently large integer nn (for instance, n>8kn > 8k), there exists α>0\alpha> 0 such that

⌊αn2⌋=k,⌊α(n+1)2⌋=k+1,⌊α(n+2)2⌋=k+1.\lfloor\alpha n^2 \rfloor= k, \qquad\lfloor\alpha(n+1)^2 \rfloor= k + 1, \qquad\lfloor\alpha(n+2)^2 \rfloor= k + 1.

Let

α=k+1(n+1)2+1(n+2)4.\alpha= \frac{k+1}{(n+1)^2} + \frac{1}{(n+2)^4}.

We claim

k≤k+1(n+1)2n2+1(n+2)4n2<k+1.k \le\frac{k+1}{(n+1)^2}n^2 + \frac{1}{(n+2)^4}n^2 < k + 1.

For the lower bound we need n2≥2kn+kn^2 \ge2kn + k; the upper bound by a short calculation holds. Hence ⌊αn2⌋=k\lfloor\alpha n^2 \rfloor= k. For ⌊α(n+1)2⌋=k+1\lfloor\alpha(n + 1)^2 \rfloor= k + 1 we need

k+1≤(k+1)+1(n+2)4(n+1)2<k+2.k + 1 \le(k + 1) + \frac{1}{(n + 2)^4}(n + 1)^2 < k + 2.

Both the lower and upper bounds are trivial. Finally, for k+1≤α(n+2)2<k+2k + 1 \le\alpha(n + 2)^2 < k + 2 we need

k+1≤k+1(n+1)2(n+2)2+1(n+2)4(n+2)2<k+2,k + 1 \le\frac{k + 1}{(n + 1)^2}(n + 2)^2 + \frac{1}{(n + 2)^4}(n + 2)^2 < k + 2,

the lower bound holds. For the upper bound we need 1(n+2)4(n+2)2<(k+2)−k+1(n+1)2(n+2)2\frac{1}{(n + 2)^4}(n + 2)^2 < (k + 2) - \frac{k + 1}{(n + 1)^2}(n + 2)^2, from this

1(n+2)2<n2−2kn−3k−2(n+1)2\frac{1}{(n + 2)^2} < \frac{n^2 - 2kn - 3k - 2}{(n + 1)^2}

which holds when n2−2kn−3k>3n^2 - 2kn - 3k > 3. From the previous requirement namely that n2≥2kn+kn^2 \ge2kn + k, if n>8kn > 8k, then these inequalities hold.

Lower bound for f(a,K)f(a,K)

In [2] the first named author answered the following question of Erdős:

Question: Let a1<a2<⋯<ana_1 < a_2 < \cdots< a_n be a strictly increasing sequence of positive integers with initial term a1=aa_1 = a. Suppose that the difference between consecutive terms is bounded by a positive integer KK, that is, ai+1−ai≤Ka_{i+1} - a_i \le K for all $1 \le i \le n - 1.Ifallconsecutivesums. If all consecutive sums\sum_{i=u}^{v} a_i(where$1≤u≤v≤n(where \$1 \le u \le v \le n) are distinct, what is the maximum possible value of the last element ana_n?

The first named author [2 Theorem 3] proved the following upper bound.

Theorem 3.1 (Hegyvári [2]). Let a,K≥1a, K \ge1 be integers. Let f(a,K)f(a, K) be the maximum integer ana_n for which there exists a sequence a=a1<a2<⋯<ana = a_1 < a_2 < \cdots< a_n such that ai+1−ai≤Ka_{i+1} - a_i \le K (1≤i≤n−11 \le i \le n - 1) and all consecutive sums are different. Then

f(a,K)<(a+K2)eK+1+Ke2K+2.f(a,K) < \left(a + \frac{K}{2}\right)e^{K+1} + Ke^{2K+2}.

:::`

Note that a more careful calculus shows the bound f(a,K)<2eK+0.5(a+K/2)+K2e2K+1f(a,K)<2e^{K+0.5}(a+K/2)+\frac{K}{2}e^{2K+1}.

Here we provide lower bounds for f(a,K)f(a,K).

Theorem 3.2. Let a,K≥1a,K\ge1 be integers with a≥Ka\ge K. Then

f(a,K)≥a+K(⌊2aK−1⌋−1)f(a,K)\ge a+K\left(\left\lfloor2\sqrt{\frac{a}{K}}-1\right\rfloor-1\right)

In particular, as a/K→∞a/K\to\infty,

f(a,K)≥a+(2−o(1))aK.f(a,K)\ge a+(2-o(1))\sqrt{aK}.

Proof. Set

k:=⌊2aK−1⌋.k:=\left\lfloor2\sqrt{\frac{a}{K}}-1\right\rfloor.

If k=0k=0, then the stated lower bound is trivial, so we may assume k≥1k\ge1. Consider the arithmetic progression

ai:=a+(i−1)K(1≤i≤k).a_i:=a+(i-1)K\qquad(1\le i\le k).

Then a1=aa_1=a, ai+1−ai=Ka_{i+1}-a_i=K (1≤i≤k−1)(1\le i\le k-1), and ak=a+(k−1)Ka_k=a+(k-1)K. Therefore it is enough to prove that all consecutive sums of a1,…,aka_1,\ldots,a_k are distinct.

Write ai=K(t+i)a_i=K(t+i), where t:=aK−1t:=\frac{a}{K}-1. By the choice of kk, we have t≥k24t\ge\frac{k^2}{4}.

Suppose, for contradiction, that two distinct consecutive sums are equal. Then there exist integers u,v,r,su,v,r,s with

0≤u<u+r≤k,0≤v<v+s≤k,(u,r)≠(v,s),0\le u<u+r\le k,\qquad0\le v<v+s\le k,\qquad(u,r)\ne(v,s),

such that

∑i=u+1u+rai=∑j=v+1v+saj.\sum_{i=u+1}^{u+r}a_i=\sum_{j=v+1}^{v+s}a_j.

We first note that r≠sr\ne s. Indeed, for any fixed length ℓ\ell, the sums am+1+⋯+am+ℓa_{m+1}+\cdots+a_{m+\ell} (0≤m≤k−ℓ)(0\le m\le k-\ell) form a strictly increasing sequence in $m. Thus, after interchanging the two blocks if necessary, we may assume that r<sr < s.

Dividing the equality of sums by KK, we obtain

∑i=u+1u+r(t+i)=∑j=v+1v+s(t+j),\sum_{i=u+1}^{u+r} (t+i) = \sum_{j=v+1}^{v+s} (t+j),

so

∑i=u+1u+ri−∑j=v+1v+sj=(s−r)t.\sum_{i=u+1}^{u+r} i - \sum_{j=v+1}^{v+s} j = (s-r)t.

Since s−r≥1s-r \ge1, the right-hand side is at least tt.

On the other hand, among all choices of a block of length rr and a block of length ss, the quantity

∑i=u+1u+ri−∑j=v+1v+sj\sum_{i=u+1}^{u+r} i - \sum_{j=v+1}^{v+s} j

is maximal when the rr-block is as far to the right as possible and the ss-block is as far to the left as possible. Therefore

∑i=u+1u+ri−∑j=v+1v+sj≤∑i=k−r+1ki−∑j=1sj.\sum_{i=u+1}^{u+r} i - \sum_{j=v+1}^{v+s} j \le\sum_{i=k-r+1}^{k} i - \sum_{j=1}^{s} j.

Hence

∑i=u+1u+ri−∑j=v+1v+sj≤r(2k−r+1)−s(s+1)2.\sum_{i=u+1}^{u+r} i - \sum_{j=v+1}^{v+s} j \le\frac{r(2k-r+1)-s(s+1)}{2}.

Since s≥r+1s \ge r+1, it follows that

r(2k−r+1)−s(s+1)2≤r(2k−r+1)−(r+1)(r+2)2=r(k−r−1)−1.\frac{r(2k-r+1)-s(s+1)}{2} \le\frac{r(2k-r+1)-(r+1)(r+2)}{2} = r(k-r-1)-1.

Now r(k−r−1)≤(k−1)24r(k-r-1) \le\frac{(k-1)^2}{4}, and consequently

∑i=u+1u+ri−∑j=v+1v+sj<k24≤t.\sum_{i=u+1}^{u+r} i - \sum_{j=v+1}^{v+s} j < \frac{k^2}{4} \le t.

This contradicts

∑i=u+1u+ri−∑j=v+1v+sj=(s−r)t≥t.\sum_{i=u+1}^{u+r} i - \sum_{j=v+1}^{v+s} j = (s-r)t \ge t.

Therefore, all consecutive sums of a1,…,aka_1,\ldots,a_k are distinct. Since this sequence starts at aa, has all gaps equal to KK, and ends at aka_k, the definition of f(a,K)f(a,K) gives

f(a,K)≥ak=a+(k−1)K=a+K(⌊2aK−1⌋−1).f(a,K) \ge a_k = a + (k-1)K = a + K\left(\left\lfloor2\sqrt{\frac{a}{K}}-1\right\rfloor-1\right).

Finally, if a/K→∞a/K \to\infty, then

⌊2aK−1⌋−1=2aK−o(aK),\left\lfloor2\sqrt{\frac{a}{K}}-1\right\rfloor-1 = 2\sqrt{\frac{a}{K}}-o\left(\sqrt{\frac{a}{K}}\right),

and hence f(a,K)≥a+(2−o(1))aKf(a,K) \ge a+(2-o(1))\sqrt{aK}. This completes the proof. □

We give another lower bound which is better when a≪Ka \ll K.

Theorem 3.3. If KK is sufficiently large, then f(a,K)≥a+14K2f(a,K) \ge a+\frac{1}{4}K^2.

Proof. Assume first that there is a prime p∈(K/2,K]p \in(K/2,K] such that p∤ap \nmid a. Let ai=a+(i−1)pa_i=a+(i-1)p for 1≤i≤n:=p+11\le i\le n:=p+1. Each ii-term consecutive sum has residue ia+(i2)pia+\binom{i}{2}p modulo ipip. Clearly, all the consecutive ii-term sums are distinct. If an ii-term sum is equal to a jj-term sum (where i<ji<j), then p∣ia−ja=(i−j)ap\mid ia-ja=(i-j)a. Since p∤ap\nmid a, this is not possible. (Indeed, i=1i=1, j=p+1j=p+1 is not possible, since a1+⋯+ap+1a_1+\cdots+a_{p+1} is larger than all 1-term sums.) Therefore, in this case f(a,K)≥a+p2>a+14K2f(a,K)\ge a+p^2>a+\frac{1}{4}K^2.

Now, assume that every prime p∈(K/2,K]p\in(K/2,K] divides aa. Let a1=aa_1=a and ai=a+(i−1)p−1a_i=a+(i-1)p-1 for 1<i≤n:=p+11<i\le n:=p+1. Each ii-term consecutive sum has residue i(a−1)+(i2)pi(a-1)+\binom{i}{2}p or i(a−1)+(i2)p+1i(a-1)+\binom{i}{2}p+1 modulo ipip. Let i<ji<j and assume that an ii-term consecutive sum is equal to a jj-term consecutive sum. It is not possible that the ii-term sum contains a1a_1, since this would be the smallest ii-term sum, smaller than all the jj-term sums.

If none of the two sums contain a1a_1, then p∣(i−j)(a−1)p\mid(i-j)(a-1), which is not possible, since p∣ap\mid a. The only remaining case is when the jj-term sum contains a1a_1 (and the ii-term sum does not contain a1a_1). This leads to the congruence i(a−1)≡j(a−1)+1(modp)i(a-1) \equiv j(a-1)+1 \pmod{p}, implying i≡j−1(modp)i \equiv j-1 \pmod{p}, thus i=j−1i=j-1.

Let the ii-term consecutive sum be as+1+as+2+⋯+as+ia_{s+1}+a_{s+2}+\cdots+a_{s+i}. Then from the equation a1+⋯+ai+1=as+1+as+2+⋯+as+ia_1+\cdots+a_{i+1}=a_{s+1}+a_{s+2}+\cdots+a_{s+i} we get that s=1+apis=1+\frac{a}{p_i}. As s+i≤p+1s+i\le p+1, we get that a<ip2<K3a<ip^2<K^3, however the product of primes from (K/2,K](K/2,K] divides the positive integer aa and for sufficiently large KK this product exceeds K3K^3. This contradiction implies that the consecutive sums are indeed distinct. Hence, in this case f(a,K)≥a+p2−1>a+14K2f(a,K)\ge a+p^2-1>a+\frac{1}{4}K^2 holds, as well.

Reconstruction in N\mathbb{N} and in N2\mathbb{N}^2

The reconstruction of discrete structures from data is a fundamental problem in computer science, discrete mathematics, and inverse number theory. One classical example is discrete tomography, which focuses on reconstructing multidimensional grids, most commonly binary matrices. Similarly, in computational biology, the well-known DNA Reconstruction Problem asks for the reconstruction of a point set solely from the unordered multiset of its pairwise distances.

In this section, we study reconstruction problems related to consecutive sums in one and two dimensions.

One-dimensional case

Let A=(1≤a1<a2<⋯<an)A=(1\le a_1<a_2<\cdots<a_n) be a strictly increasing sequence of integers. For 1≤i<j≤n1\le i<j\le n, define the consecutive sum

Si,j:=∑k=ijakS_{i,j}:=\sum_{k=i}^{j}a_k

Let C1(A)C_1(A) denote the multiset of all consecutive sums, written in nondecreasing order as

C1(A)={x1≤x2≤⋯≤xm},m=(n2).C_1(A)=\{x_1\le x_2\le\cdots\le x_m\},\qquad m=\binom{n}{2}.

We consider only consecutive sums involving at least two terms.

Proposition 4.1. Let n≥3n\ge3. Given C1(A)C_1(A), there is an algorithm with running time at most O(n2)O(n^2) that reconstructs the sequence AA.

Proof. Clearly, xm=S1,nx_m=S_{1,n} and xm−1=S2,nx_{m-1}=S_{2,n}. Hence,

a1=S1,n−S2,n=xm−xm−1.a_1=S_{1,n}-S_{2,n}=x_m-x_{m-1}.

Since the smallest element of C1(A)C_1(A) is x1=S1,2=a1+a2x_1=S_{1,2}=a_1+a_2, we obtain

a2=x1−a1.a_2=x_1-a_1.

Now suppose that the elements a1<a2<⋯<aka_1<a_2<\cdots<a_k have been determined, and that we have calculated all consecutive sums

{Si,j:1≤i<j≤k}.\{S_{i,j}:1\le i<j\le k\}.

Let xtx_t be the smallest element of the multiset obtained from C1(A)C_1(A) by removing the previously determined consecutive sums, with their multiplicities. (Note that at each step, we remove the newly determined consecutive sums from the multiset, taking their multiplicities into account.) Since a1<⋯<ana_1<\cdots<a_n, we have xt=Sk,k+1=ak+ak+1x_t=S_{k,k+1}=a_k+a_{k+1}.

Consequently, ak+1=xt−aka_{k+1}=x_t-a_k. We can then calculate all the new consecutive sums Si,k+1S_{i,k+1} (1≤i≤k1\le i\le k).

At the (k+1)(k+1)-st step, we perform k+1k+1 operations. Thus the total number of operations is indeed O(n2)O(n^2). ∎

Two-dimensional case

In the one-dimensional case, we considered the sums over all intervals of consecutive indices of length at least two. We now introduce the corresponding two-dimensional notion.

Let XX be an N×NN \times N matrix with positive real entries, N≥3N \ge3. For every rectangular submatrix X′X' of XX whose rows and columns are consecutive, let S(X′)S(X') denote the sum of its entries. We call these sums block-sums when the submatrix is not of size 1×11 \times1.

In [2], the following translation problem was posed. Given a finite sequence AA, determine the smallest integer tt such that all consecutive sums of A+tA+t are distinct. The existence of such an integer is immediate.

We consider the two-dimensional analogue. Let MM be an N×NN \times N matrix. Instead of adding an integer, we add an N×NN \times N translation matrix TT.

The communication process. The specified reconstruction task involves the following communication process: given an N×NN \times N matrix MM with positive entries, the value of S(M)S(M) is known. We send the translation matrix TT, and then receive the multiset of all block-sums of M+TM+T. Our task is to reconstruct MM from this information.

Let ϕ:[N]×[N]→{1,2,…,N2}\phi: [N] \times[N] \to\{1,2,\ldots,N^2\} be any bijection (a fixed permutation of the entries of an N×NN \times N matrix) and let Tij=K⋅2ϕ(i,j)T_{ij}=K \cdot2^{\phi(i,j)}, where K>S(M)K>S(M).

Recognizing the rectangles TT. Let T′T' be any rectangle in TT. We have

S(T′)=K∑(i,j)∈T′2ϕ(i,j).S(T')=K\sum_{(i,j)\in T'}2^{\phi(i,j)}.

Since K>S(M)K>S(M) and the binary representation of integers unique, from a sum T′T' can be uniquely identified.

Recognizing the rectangles of M+TM+T. Let (M+T)′(M+T)' be any rectangle in M+TM+T. Clearly (M+T)′=M′+T′(M+T)'=M'+T' and S((M+T)′)=S(M′)+S(T′)S((M+T)')=S(M')+S(T'). Observe that

S((M+T)′)=S(M′)+K∑(i,j)∈T′2ϕ(i,j),S((M+T)')=S(M')+K\sum_{(i,j)\in T'}2^{\phi(i,j)},

also, by K>S(M)K>S(M) the contribution from MM is negligible, the sums determine which entries (i,j)(i,j) belong to T′T'. Thus we can calculate each block-sum of MM, as well (by subtracting the corresponding block-sum of TT from the block-sum for M+TM+T).

First, m11m_{11} is the difference of the two block-sums m11+m12+m13m_{11}+m_{12}+m_{13} and m12+m13m_{12}+m_{13}. Then, by using block-sums of the form mij+mi,j+1m_{ij}+m_{i,j+1} and mij+mi+1,jm_{ij}+m_{i+1,j} together with previously determined values we can calculate the entries of MM one by one. The longest step is reconstructing the block-sums of M+TM+T which takes O(N4)O(N^4) steps. Thus the following result is obtained.

Theorem 4.2. Let N≥3N\ge3 and M=(mi,j)M=(m_{i,j}) be an N×NN\times N matrix such that mi,j>0m_{i,j}>0 for all i,ji,j. Given the block-sums of the matrix M+TM+T for a suitably chosen and known translation matrix TT, there is an algorithm that reconstructs MM within O(N4)O(N^4) steps.

Acknowledgements

N.H. was supported by the National Research, Development and Innovation Office NKFIH Grant No K-146387. P.P.P. was supported by the National Research, Development and Innovation Office NKFIH (Grant Nr. K146387 and Excellence program, Grant Nr. 153829). Q.T. was supported by National Key Research and Development Program of China 2023YFA1010201.

References

Norbert Hegyvári, ELTE TTK, Eötvös University, Institute of Mathematics, H-1117 Pázmány st. 1/c, Budapest, Hungary and associated member of Alfréd Rényi Institute of Mathematics, Hungarian Academy of Science, H-1364 Budapest, P.O.Box 127.

Email address: [email protected]

Péter Pál Pach, HUN-REN Alfréd Rényi Institute of Mathematics, Réáltanoda utca 13–15., H-1053 Budapest, Hungary;

MTA–HUN-REN RI Lendület “Momentum” Arithmetic Combinatorics Research Group, Réáltanoda utca 13–15., H-1053 Budapest, Hungary;

Department of Computer Science and Information Theory, Budapest University of Technology and Economics, Műegyetem rkp. 3., H-1111 Budapest, Hungary.

Email address: [email protected]

Quanyu Tang, School of Mathematical Sciences, University of Science and Technology of China, Hefei 230026, P. R. China

Email address: [email protected]

References

  1. [1]A. Beker, On a problem of Erdős and Graham about consecutive sums in strictly increasing sequences. Bulletin of the London Mathematical Society 56(8) (2024) 2749–2759.arxiv.org/abs/2311.10087
  2. [2]N. Hegyvári, On consecutive sums in sequences, Acta Math. Hungar. 48 (1986), 193–200.DOI
  3. [3]J. Konieczny, On consecutive sums in permutations, Journal of Combinatorics 12 (2021), no. 3, 413–477.arxiv.org/abs/1504.07156
  4. [4]M.B. Nathanson, Sidon sets with Δ−separated sumsets in additive number theory, arXiv:2608.07416 [math.NT], https://doi.org/10.48550/arXiv.2608.07416
  5. [5]I. Z. Ruzsa, An almost polynomial Sidon sequence, Studia Scientiarum Mathematicarum Hungarica 38 (1-4) p. 367–376, DOI:10.1556/SScMath.38.2001.1-4.27DOI

Paper details

vlnc:W_cpcwnhgc
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC0-1.0
Usage

views · 9

downloads · 0

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

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents