In mathematics, and in particular in arithmetic combinatorics, a Salem-Spencer set is a set of numbers no three of which form an arithmetic progression. Salem–Spencer sets are also called 3-AP-free sequences or progression-free sets. They have also been called non-averaging sets,[1][2] but this term has also been used to denote a set of integers none of which can be obtained as the average of any subset of the other numbers.[3] Salem-Spencer sets are named after Raphaël Salem and Donald C. Spencer, who showed in 1942 that Salem–Spencer sets can have nearly-linear size. However a later theorem of Klaus Roth shows that the size is always less than linear.
Examples
For the smallest values of such that the numbers from to have a -element Salem-Spencer set are
1, 2, 4, 5, 9, 11, 13, 14, 20, 24, 26, 30, 32, 36, ... (sequence A065825 in the OEIS)
For instance, among the numbers from 1 to 14, the eight numbers
of numbers that, when written as a ternary number, use only the digits 0 and 1. This sequence is the lexicographically first infinite Salem–Spencer set.[5] Another infinite Salem–Spencer set is given by the cubes
0, 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000, ... (sequence A000578 in the OEIS)
It is a theorem of Leonhard Euler that no three cubes are in arithmetic progression.[6]
In 1942, Salem and Spencer published a proof that the integers in the range from to have large Salem–Spencer sets, of size .[7] The denominator of this expression uses big O notation, and grows more slowly than any power of , so the sets found by Salem and Spencer have a size that is nearly linear. This bound disproved a conjecture of Paul Erdős and Pál Turán that the size of such a set could be at most for some .[4][8]
The construction of Salem and Spencer was improved by Felix Behrend in 1946, who found sets of size .[9]
In 1952, Klaus Roth proved Roth's theorem establishing that the size of a Salem-Spencer set must be .[10] Therefore, although the sets constructed by Salem, Spencer, and Behrend have sizes that are nearly linear, it is not possible to improve them and find sets whose size is actually linear. This result became a special case of Szemerédi's theorem on the density of sets of integers that avoid longer arithmetic progressions.[4] To distinguish Roth's bound on Salem–Spencer sets from Roth's theorem on Diophantine approximation of algebraic numbers, this result has been called Roth's theorem on arithmetic progressions.[11] After several additional improvements to Roth's theorem,[12][13][14][15] the size of a Salem–Spencer set has been proven to be .[16] An even better bound of (for some that has not been explicitly computed) was announced in 2020 in a preprint.[17] In 2023 a new bound of [18][19][20] was found by computers scientist Kelley and Meka and shortly after an exposition in more familiar mathematical terms was given by Bloom and Sisask[21][22] who have since also improved the exponent of the Kelly-Meka bound to (and conjectured ) in a preprint.[23]
Construction
A simple construction for a Salem–Spencer set (of size considerably smaller than Behrend's bound) is to choose the ternary numbers that use only the digits 0 and 1, not 2. Such a set must be progression-free, because if two of its elements and are the first and second members of an arithmetic progression, the third member must have the digit two at the position of the least significant digit where and differ.[4] The illustration shows a set of this form, for the three-digit ternary numbers (shifted by one to make the smallest element 1 instead of 0).
Behrend's construction uses a similar idea, for a larger odd radix . His set consists of the numbers whose digits are restricted to the range from to (so that addition of these numbers has no carries), with the extra constraint that the sum of the squares of the digits is some chosen value .[9] If the digits of each number are thought of as coordinates of a vector, this constraint describes a sphere in the resulting vector space, and by convexity the average of two distinct values on this sphere will be interior to the sphere rather than on it.[24] Therefore, if two elements of Behrend's set are the endpoints of an arithmetic progression, the middle value of the progression (their average) will not be in the set. Thus, the resulting set is progression-free.[9]
With a careful choice of , and a choice of as the most frequently-occurring sum of squares of digits, Behrend achieves his bound.[9]
In 1953, Leo Moser proved that there is a single infinite Salem–Spencer sequence achieving the same asymptotic density on every prefix as Behrend's construction.[1]
By considering the convex hull of points inside a sphere, rather than the set of points on a sphere,
it is possible to improve the construction by a factor of .[24][25] However, this does not affect the size bound in the form stated above.
Generalization
The notion of Salem–Spencer sets (3-AP-free set) can be generalized to -AP-free sets, in which elements form an arithmetic progression if and only if they are all equal. Rankin (1961) gave constructions of large -AP-free sets.[26]
Computational results
Gasarch, Glenn, and Kruskal have performed a comparison of different computational methods for large subsets of with no arithmetic progression.[2] Using these methods they found the exact size of the largest such set for . Their results include several new bounds for different values of , found by branch-and-bound algorithms that use linear programming and problem-specific heuristics to bound the size that can be achieved in any branch of the search tree. One heuristic that they found to be particularly effective was the thirds method, in which two shifted copies of a Salem–Spencer set for are placed in the first and last thirds of a set for .[2]
Applications
a
b
c
d
e
f
g
h
8
8
7
7
6
6
5
5
4
4
3
3
2
2
1
1
a
b
c
d
e
f
g
h
Five queens on the main diagonal of a chessboard, attacking all other squares. The vacant squares on the diagonal are in rows 1, 3, and 7, an all-odd Salem–Spencer set.
These sets can also be applied in recreational mathematics to a mathematical chess problem of
placing as few queens as possible on the main diagonal of an chessboard so that all squares of the board are attacked. The set of diagonal squares that remain unoccupied must form a Salem–Spencer set, in which all values have the same parity (all odd or all even).
The smallest possible set of queens is the complement of the largest Salem–Spencer subset of the odd numbers in .
This Salem-Spencer subset can be found by doubling and subtracting one from the values in a Salem–Spencer subset of all the numbers in [32]
^Abbott, H. L. (1976), "On a conjecture of Erdős and Straus on non-averaging sets of integers", Proceedings of the Fifth British Combinatorial Conference (Univ. Aberdeen, Aberdeen, 1975), Congressus Numerantium, vol. XV, Winnipeg, Manitoba: Utilitas Math., pp. 1–4, MR0406967
^Bloom, Thomas F.; Sisask, Olof (2023-02-14). "The Kelley–Meka bounds for sets free of three-term arithmetic progressions". Essential Number Theory. 2: 15–44. arXiv:2302.07211. doi:10.2140/ent.2023.2.15.
^Bloom, Thomas F.; Sisask, Olof (2023-09-05). "An improvement to the Kelley-Meka bounds on three-term arithmetic progressions". arXiv:2309.02353 [math.NT].
^Rankin, R. A. (1961), "XXIV: Sets of integers containing not more than a given number of terms in arithmetical progression", Proceedings of the Royal Society of Edinburgh, Section A: Mathematical and Physical Sciences, 65 (4): 332–344, doi:10.1017/S0080454100017726, S2CID122037820
^Ruzsa, I. Z.; Szemerédi, E. (1978), "Triple systems with no six points carrying three triangles", Combinatorics (Proc. Fifth Hungarian Colloq., Keszthely, 1976), Vol. II, Colloq. Math. Soc. János Bolyai, vol. 18, Amsterdam and New York: North-Holland, pp. 939–945, MR0519318
^Abboud, Amir; Bringmann, Karl; Hermelin, Danny; Shabtay, Dvir (2019), "SETH-based lower bounds for subset sum and bicriteria path", in Chan, Timothy M. (ed.), Proceedings of the Thirtieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2019, San Diego, California, USA, January 6-9, 2019, Society for Industrial and Applied Mathematics, pp. 41–57, arXiv:1704.04546, doi:10.1137/1.9781611975482.3, ISBN978-1-61197-548-2, S2CID15802062