This site is supported by donations to The OEIS Foundation.

Density

From OeisWiki
Jump to navigationJump to search

There are many different mathematical definitions of density. The most common is asymptotic density, which does not exist for all sequences. Consequently a number of other densities have been developed to fill those gaps or to serve different purposes. Although some types may generalize further, this article is about densities on subsets of the natural numbers.

Asymptotic density

Asymptotic density (or natural density) is a common way to measure the size of a subset of the natural numbers.

The lower asymptotic density d_ of a set A is defined as

d_(A)=lim infn1ni=1nχA(i)=lim infnaA,1an1n,

and the upper asymptotic density d of a set A is defined as

d(A)=lim supn1ni=1nχA(i)=lim supnaA,1an1n,

where χA(i) is the characteristic function of the set A.

Both exist for all sets A. If the two are equal, the asymptotic density d(A) is said to exist and is equal to both.

The asymptotic density is finitely additive when it exists. In particular, for disjoint sets A and B, we have

d_(A)+d_(B)d_(AB)d_(A)+d(B)d(AB)d(A)+d(B).

Szemerédi's theorem[1] shows that if a set has positive upper asymptotic density, then it contains arbitrarily long arithmetic progressions.[2]

Let R={a/b: a,bA} be the set of fractions of A. If A has positive asymptotic density, then R is (topologically) dense in the positive reals. If R is not dense in the reals then A has lower asymptotic density less than 1/2 and upper asymptotic density less than 1; and any such lower or upper density is achievable.[3]

Relative density

Sometimes it is natural to look not at the density compared to all natural numbers but to some base set. For example, the asymptotic density of the primes which are 1 mod 3 is 0 but it would be useful for this to be 1/2 in some sense. Relative density simply divides by the number of members of the base set up to n rather than by n. It is thus a generalization of asymptotic density, the special case where the base set is . Most densities can be specialized in a natural way to a relative density of some kind, but when used without quantification "relative density" always means relative asymptotic density.

Logarithmic density

Compared to asymptotic density, logarithmic density is less sensitive to certain perturbations and hence may exist when the asymptotic density does not. If the asymptotic density does exist, so does the logarithmic density and the two are equal.

The lower logarithmic density of a set A is defined as

δ_(A)=lim infn1logni=1nχA(i)i=lim infn1lognaA,an1a,

where χA(i) is the characteristic function of the set A.

The upper logarithmic density δ(A) is obtained analogously. If both exist then the logarithmic density δ(A) exists and is equal to both.

Logarithmic density is related to asymptotic density by

0d_(A)δ_(A)δ(A)d(A)1.

There exist sequences which have any chosen values as the logarithmic and asymptotic densities, provided they meet these inequalities.[4]

Although the multiples of a set of positive integers may have no asymptotic density,[5] it has logarithmic density[6][7][8] equal to its lower asymptotic density. (This is of course positive if the set is nonempty.)

If the fractions {a/b: a,bA} are not dense in the positive real numbers, A cannot have upper (or lower) logarithmic density greater than or equal to 1/2; for any 0r<1/2 there is such a set with logarithmic density (and hence lower and upper logarithmic density) equal to r.[3]

The Dirichlet density, also known as the analytic density or zeta density, is defined as

limσ1+ζ(σ)1aAaσ,

or equivalently

limσ1+(σ1)aAaσ,

with upper and lower Dirichlet densities defined as usual by replacing the limit with the limit superior and limit inferior, respectively.

The Dirichlet density is identical to the logarithmic density: one exists if and only if the other does, and their values are equal. It is commonly used in multiplicative number theory where it is often more convenient to calculate.

Generalized densities

Grekos[9] defines a family of densities by

dh(A)=lim supn1h(n)h(aA,an1),

and as usual for dh_(A) and dh(A), where h is an unbounded increasing function on [0,).

Exponential density

This is the special case h=log. This density has the property that the k-th powers have exponential density 1/k, hence the name.

Multiplicative density

The multiplicative density was defined by Davenport & Erdős[7] and is defined as

limx(px(11p))(kA,k x-smooth1k),

if this limit exists.

Uniform density

The uniform density (or Banach density)[10] shows the extent of the variability of the sequence.

Define

u(A)=limslim supnaA,n<an+s1s,
u_(A)=limslim infnaA,n<an+s1s.

While logarithmic density is less sensitive than asymptotic density, uniform density is more sensitive; the three are related by

0u_(A)d_(A)δ_(A)δ(A)d(A)u(A)1.

Of course if the uniform density u_(A)=u(A)=u(A) exists it is equal to the asymptotic and logarithmic densities.

A set with upper uniform density 1 is called thick. A set is syndetic if and only if it has positive lower uniform density.


Schnirelmann density

Schnirelmann introduced a concept of density useful in additive combinatorics. The Schnirelmann density σ is defined as

σ(A)=infn1naA,an1,

and the upper Schnirelmann density σ can be defined analogously as

σ(A)=supn1naA,an1,

though this is rarely used. Note that the two are never equal except for σ()=1=σ(): 0σ(A)<σ(A)1 for all A. Further, the asymptotic densities are bounds:

σ(A)d_(A)d(A)σ(A) (at least one of the inequalities being strict).

Mann's theorem states that[11]

σ(A+B)min(σ(A)+σ(B),1).

Here the + on the left denotes Minkowski addition. Lepson[12] shows that this is the best possible result in that equality can be obtained for any choice of σ(A),σ(B).

Niven[13] shows that

σ({bai})σ({ai})σ({bi}).

Divisor density

A subset S of the positive integers has divisor density[14] z if for almost all n it holds that

d|n,dS1d|n1z

(where ~ is as n increases without bound).

For any α[0,1] and any β[0,1] there is a set S with divisor density α and logarithmic density β, and this remains true if one or both are replaced with "undefined".

Other densities

  • Lacunary density[15]
  • Mean density, Abel density, Poisson density, logarithmic block density[16]
  • Ψ-density[17]

Properties

It seems reasonable to require that for any density D,D(A)D(B) when AB. Further, D()=0 and D()=1.

Grekos[9] suggests four properties which may be desirable:

  1. Translation invariance: D(A)=D(A+{k}) for any k, where + is the Minkowski sum.
  2. Homogeneity: D(A)=kD(kA), where nS denotes {ns: sS}.
  3. Finiteness: If A is finite, then D(A)=0.
  4. Finite additivity: If A and B are disjoint then D(A)+D(B)=D(AB).

Note that axioms 3 and 4 together imply

3a. If the symmetric difference (AB)(BA) is finite, then D(A)=D(B).

Note also that sigma additivity, a strengthening of #4, is not possible in this setting. Sigma-additivity, together with finiteness, yields D()=0.

Axioms 1 and 2 mean that homothetic transformations have the expected densities. If they are replaced with

1a. D(AB)=min(D(A),D(B))

then the result is a nonprincipal ultrafilter.


Notes

  1. Endre Szemerédi, On sets of integers containing no k elements in arithmetic progression, Acta Arithmetica 27 (1975), pp. 199–245.
  2. Note that the converse is not true: if a set contains arbitrarily long arithmetic progressions, it may have null upper asymptotic density. The Green–Tao theorem, proved by Ben Green and Terence Tao in 2004, states that the sequence of prime numbers (which have null upper asymptotic density) contains arbitrarily long arithmetic progressions. In other words there exist arithmetic progressions of primes, with k terms, where k can be any natural number. The proof is an extension of Szemerédi's theorem.
  3. 3.0 3.1 Ladislav Mišík and János T. Tóth, Logarithmic density of a sequence of integers and density of its ratio set, Journal de théorie des nombres de Bordeaux 15:1 (2003), pp. 309–318, doi: 10.5802/jtnb.404
  4. Ladislav Mišík, Sets of positive integers with prescribed values of densities, Mathematica Slovaca 52:3 (2002), pp. 289–296.
  5. A. S. Besicovitch, On the density of certain sequences of integers, Mathematische Annalen 110 (1934), pp. 336–341.
  6. H. Davenport and P. Erdős, On sequences of positive integers, Acta Arithmetica 2 (1936), pp. 147-151.
  7. 7.0 7.1 H. Davenport and P. Erdős, On sequences of positive integers, J. Indian Math. Soc. 15 (1951), pp. 19–24.
  8. Vilius Stakėnas, On the densities of rational multiples, Lith. Math. J. 50:4 (2010), pp. 459–473. arXiv:1002.3808
  9. 9.0 9.1 Georges Grekos, On various definitions of density (survey), Tatra Mt. Math. Publ. 31 (2005), pp. 17–27.
  10. Georges Grekos, Vladimír Toma, and Jana Tomanová, A note on uniform or Banach density, Annales mathématiques Blaise Pascal 17:1 (2010), pp. 153–163, doi: 10.5802/ambp.280.
  11. Henry B. Mann, A proof of the fundamental theorem on the density of sums of sets of positive integers, Annals of Mathematics. Second Series 43:3 (1942), pp. 523–527.
  12. Benjamin Lepson, Certain best possible results in the theory of Schnirelmann density, Proc. Amer. Math. Soc. 1 (1950), pp. 592–594.
  13. Ivan Niven, The asymptotic density of sequences, Bull. Amer. Math. Soc. 57:6 (1951), pp. 420–434.
  14. R. R. Hall, The divisor density of integer sequences
  15. T. C. Brown and A. R. Freedman, Arithmetic progressions in lacunary sets, Rocky Mountain J. Math. 17:3 (1987), pp. 587–596.
  16. L. A. Rubel, Necessary and sufficient conditions for Carlson's theorem, Transactions of the American Mathematical Society 83 (1956), pp. 417–429.
  17. K. G. Binmore, A density theorem with an application to gap power series, Transactions of the American Mathematical Society 148:2 (1970), pp. 367–384.

Cite this page as

Charles R Greathouse IV, Density. — From the On-Line Encyclopedia of Integer Sequences® (OEIS®) wiki.Available at https://oeis.org/wiki/Density