HOME

TheInfoList



OR:

In mathematics, a Stanley sequence is an
integer sequence In mathematics, an integer sequence is a sequence (i.e., an ordered list) of integers. An integer sequence may be specified ''explicitly'' by giving a formula for its ''n''th term, or ''implicitly'' by giving a relationship between its terms. Fo ...
generated by a
greedy algorithm A greedy algorithm is any algorithm that follows the problem-solving heuristic of making the locally optimal choice at each stage. In many problems, a greedy strategy does not produce an optimal solution, but a greedy heuristic can yield locall ...
that chooses the sequence members to avoid
arithmetic progression An arithmetic progression or arithmetic sequence () is a sequence of numbers such that the difference between the consecutive terms is constant. For instance, the sequence 5, 7, 9, 11, 13, 15, . . . is an arithmetic progression with a common differ ...
s. If S is a finite set of non-negative integers on which no three elements form an arithmetic progression (that is, a Salem–Spencer set), then the Stanley sequence generated from S starts from the elements of S, in sorted order, and then repeatedly chooses each successive element of the sequence to be a number that is larger than the already-chosen numbers and does not form any three-term arithmetic progression with them. These sequences are named after Richard P. Stanley.


Binary–ternary sequence

The Stanley sequence starting from the empty set consists of those numbers whose ternary representations have only the digits 0 and 1. That is, when written in ternary, they look like
binary number A binary number is a number expressed in the base-2 numeral system or binary numeral system, a method of mathematical expression which uses only two symbols: typically "0" ( zero) and "1" (one). The base-2 numeral system is a positional notati ...
s. These numbers are :0, 1, 3, 4, 9, 10, 12, 13, 27, 28, 30, 31, 36, 37, 39, 40, ... By their construction as a Stanley sequence, this sequence is the
lexicographically In mathematics, the lexicographic or lexicographical order (also known as lexical order, or dictionary order) is a generalization of the alphabetical order of the dictionaries to sequences of ordered symbols or, more generally, of elements of ...
first arithmetic-progression-free sequence. Its elements are the sums of distinct powers of three, the numbers n such that the nth central binomial coefficient is 1 mod 3, and the numbers whose
balanced ternary Balanced ternary is a ternary numeral system (i.e. base 3 with three digits) that uses a balanced signed-digit representation of the integers in which the digits have the values −1, 0, and 1. This stands in contrast to the standard (unbalanc ...
representation is the same as their ternary representation. The construction of this sequence from the ternary numbers is analogous to the construction of the
Moser–de Bruijn sequence In number theory, the Moser–de Bruijn sequence is an integer sequence named after Leo Moser and Nicolaas Govert de Bruijn, consisting of the sums of distinct powers of 4, or equivalently the numbers whose binary representations are nonzero ...
, the sequence of numbers whose base-4 representations have only the digits 0 and 1, and the construction of the
Cantor set In mathematics, the Cantor set is a set of points lying on a single line segment that has a number of unintuitive properties. It was discovered in 1874 by Henry John Stephen Smith and introduced by German mathematician Georg Cantor in 1883. T ...
as the subset of real numbers in the interval ,1/math> whose ternary representations use only the digits 0 and 2. More generally, they are a 2-regular sequence, one of a class of integer sequences defined by a linear
recurrence relation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a paramete ...
with multiplier 2. This sequence includes three
powers of two A power of two is a number of the form where is an integer, that is, the result of exponentiation with number two as the base and integer  as the exponent. In a context where only integers are considered, is restricted to non-negative ...
: 1, 4, and 256 = 35 + 32 + 3 + 1. Paul Erdős conjectured that these are the only powers of two that it contains.


Growth rate

Andrew Odlyzko Andrew Michael Odlyzko (Andrzej Odłyżko) (born 23 July 1949) is a Polish- American mathematician and a former head of the University of Minnesota's Digital Technology Center and of the Minnesota Supercomputing Institute. He began his career in ...
and Richard P. Stanley observed that the number of elements up to some threshold n in the binary–ternary sequence, and in other Stanley sequences starting from \ or \, grows proportionally to n^\approx n^. For other starting sets \ the Stanley sequences that they considered appeared to grow more erratically but even more sparsely. For instance, the first irregular case is s=4, which generates the sequence :0, 4, 5, 7, 11, 12, 16, 23, 26, 31, 33, 37, 38, 44, 49, 56, 73, 78, 80, 85, 95, 99, ... Odlyzko and Stanley conjectured that in such cases the number of elements up to any threshold n is O\bigl(\sqrt\bigr). That is, there is a dichotomy in the growth rate of Stanley sequences between the ones with similar growth to the binary–ternary sequence and others with a much smaller growth rate; according to this conjecture, there should be no Stanley sequences with intermediate growth. Moy proved that Stanley sequences cannot grow significantly more slowly than the conjectured bound for the sequences of slow growth. Every Stanley sequence has \Omega\bigl(\sqrt\bigr) elements up to n. More precisely Moy showed that, for every such sequence, every \varepsilon>0, and all sufficiently large n, the number of elements is at least (\sqrt 2 - \varepsilon)\sqrt n. Later authors improved the constant factor in this bound, and proved that for Stanley sequences that grow as n^ the constant factor in their growth rates can be any rational number whose denominator is a power of three.


History

A variation of the binary–ternary sequence (with one added to each element) was considered in 1936 by Paul Erdős and
Pál Turán Pál Turán (; 18 August 1910 – 26 September 1976) also known as Paul Turán, was a Hungarian mathematician who worked primarily in extremal combinatorics. He had a long collaboration with fellow Hungarian mathematician Paul Erdős, lasting ...
, who observed that it has no three-term arithmetic progression and conjectured (incorrectly) that it was the densest possible sequence with no arithmetic progression. In unpublished work with
Andrew Odlyzko Andrew Michael Odlyzko (Andrzej Odłyżko) (born 23 July 1949) is a Polish- American mathematician and a former head of the University of Minnesota's Digital Technology Center and of the Minnesota Supercomputing Institute. He began his career in ...
in 1978, Richard P. Stanley experimented with the greedy algorithm to generate progression-free sequences. The sequences they studied were exactly the Stanley sequences for the initial sets \. Stanley sequences were named, and generalized to other starting sets than \, in a paper published in 1999 by Erdős (posthumously) with four other authors.


References


Further reading

* * * *{{citation , last = Sawhney , first = Mehtaab , arxiv = 1706.05444 , title = Character Values of Stanley Sequences , year = 2017 Integer sequences