More Details
- For the constant sequence {1,1,...,1}, the frequency is exactly the binomial distribution.
- For the doubling sequence {1,2,4,...,2n}, the frequency of all sums is 1;
all sums are odd. If a sequence grows faster than 2n, its frequency plot is not
interesting.
- All the sums for a given sequence have the same parity; sums of opposite parity
are not possible.
- A lemma due to Littlewood and Offord, but improved by Erdos, shows that frequency of
every sum must be ≤ Binomial(n,Floor(n/2)). Equality is attained only for a constant
sequence, such as {1,1,...,1}.
- It appears that Erdos' result can be improved; the highest frequency is approximately
Binomial(n,Floor(n/2)) / SD, where SD is the standard deviation of the 2n numbers
±a1,±a2,...,±an. For example, for large n,
- SD(± consecutive integers) ≈ Sqrt(1/3) n
- SD(± consecutive squares) ≈ Sqrt(1/5) n^2
- SD(± primes) ≈ 0.577 Prime(n)
There is good
agreement between the maximum frequency in the plots above and the formulas given here.
- The computation of the distributions is very easy. The 2n individual
sums are not computed.
- Roland Bacher points out that the frequencies can be viewed as the possible winnings in
a game between two players. The wagers are the numbers a1,a2,...,an.
- The frequencies are the coefficients of the product (1/x^a1 + x^a1)(1/x^a2 + x^a2)...(1/x^an + x^an)
when it is expanded as a polynomial in positive and negative powers of x.
- Ron Knott points out that the frequency distribution is essentially the same as sums of
all subsets of the set {a1,a2,...,an}. In that case, the sums range from 0 to S, instead of
-S to S, where S = a1+a2 +...+an.
- Pieter Moree points out that a theorem of H. F. Scherk (proved by Pillai in 1928), states
that a prime p of even index (3,7,13,19,...) can be represented as an extremal sum of the set
consisting of 1 and the primes less than p. This is proved in chapter 3, section 11, of
Sierpinski's "Elementary Theory of Numbers" book.
Sierpinski's book on-line.
- Question: given a frequency distribution, can the sequence {a1,a2,...,an} be determined?
|