Combinatorial enumeration As has already been mentioned, the ordered Bell numbers count weak orderings,
permutohedron faces, Cayley trees, Cayley permutations, and equivalent formulae in Fubini's theorem. Weak orderings in turn have many other applications. For instance, in
horse racing,
photo finishes have eliminated most but not all ties, called in this context
dead heats, and the outcome of a race that may contain ties (including all the horses, not just the first three finishers) may be described using a weak ordering. For this reason, the ordered Bell numbers count the possible number of outcomes of a horse race. In contrast, when items are ordered or ranked in a way that does not allow ties (such as occurs with the ordering of cards in a deck of cards, or batting orders among
baseball players), the number of orderings for n items is a
factorial number n!, which is significantly smaller than the corresponding ordered Bell number. Problems in many areas can be formulated using weak orderings, with solutions counted using ordered Bell numbers. consider
combination locks with a numeric keypad, in which several keys may be pressed simultaneously and a combination consists of a sequence of keypresses that includes each key exactly once. As they show, the number of different combinations in such a system is given by the ordered Bell numbers. In
seru, a Japanese technique for balancing
assembly lines, cross-trained workers are allocated to groups of workers at different stages of a production line. The number of alternative assignments for a given number of workers, taking into account the choices of how many stages to use and how to assign workers to each stage, is an ordered Bell number. As another example, in the computer simulation of
origami, the ordered Bell numbers give the number of orderings in which the creases of a
crease pattern can be folded, allowing sets of creases to be folded simultaneously. In
number theory, an ordered
multiplicative partition of a
positive integer is a representation of the number as a product of one or more of its
divisors. For instance, 30 has 13 multiplicative partitions, as a product of one divisor (30 itself), two divisors (for instance ), or three divisors (, etc.). An integer is
squarefree when it is a product of distinct
prime numbers; 30 is squarefree, but 20 is not, because its prime factorization repeats the prime 2. For squarefree numbers with n prime factors, an ordered multiplicative partition can be described by a weak ordering on its prime factors, describing which prime appears in which term of the partition. Thus, the number of ordered multiplicative partitions is given by a(n). On the other hand, for a
prime power with exponent n, an ordered multiplicative partition is a product of powers of the same prime number, with exponents summing to n, and this ordered sum of exponents is a
composition of n. Thus, in this case, there are 2^{n-1} ordered multiplicative partitions. Numbers that are neither squarefree nor prime powers have a number of ordered multiplicative partitions that (as a function of the number of prime factors) is between these two extreme cases. A
parking function, in mathematics, is a finite sequence of positive integers with the property that, for every i up to the sequence length, the sequence contains at least i values that are at most i. A sequence of this type, of length n, describes the following process: a sequence of n cars arrives on a street with n parking spots. Each car has a preferred parking spot, given by its value in the sequence. When a car arrives on the street, it parks in its preferred spot, or, if that is full, in the next available spot. A sequence of preferences forms a parking function if and only if each car can find a parking spot on or after its preferred spot. The number of parking functions of length n is exactly (n+1)^{n-1}. For a restricted class of parking functions, in which each car parks either on its preferred spot or on the next spot, the number of parking functions is given by the ordered Bell numbers. Each restricted parking function corresponds to a weak ordering in which the cars that get their preferred spot are ordered by these spots, and each remaining car is tied with the car in its preferred spot. The
permutations, counted by the factorials, are parking functions for which each car parks on its preferred spot. This application also provides a
combinatorial proof for
upper and lower bounds on the ordered Bell numbers of a simple form, n!\le a(n) \le (n+1)^{n-1}. . The reflection planes of A_3 cut the sphere in
great circles. The faces of the complex intersect the sphere in 24 triangles, 36 arcs, and 14 vertices; one more face, at the center of the sphere, is not visible. The ordered Bell number a(n) counts the number of faces in the
Coxeter complex associated with a
Coxeter group of type A_{n-1}. Here, a Coxeter group can be thought of as a finite system of reflection symmetries, closed under repeated reflections, whose mirrors partition a
Euclidean space into the cells of the Coxeter complex. For instance, a(3)=13 corresponds to A_2, the system of reflections of the
Euclidean plane across three lines that meet at the origin at 60^\circ angles. The complex formed by these three lines has 13 faces: the origin, six rays from the origin, and six regions between pairs of rays. uses the ordered Bell numbers to analyze
-ary relations, mathematical statements that might be true of some choices of the n arguments to the relation and false for others. He defines the "complexity" of a relation to mean the number of other relations one can derive from the given one by permuting and repeating its arguments. For instance, for n=2, a relation on two arguments x and y might take the form y=f(x). By Kemeny's analysis, it has a(n)=3 derived relations. These are the given relation y=f(x), the
converse relation x=f(y) obtained by swapping the arguments, and the
unary relation x=f(x) obtained by repeating an argument. (Repeating the other argument produces the same relation.) apply these numbers to
optimality theory in
linguistics. In this theory, grammars for
natural languages are constructed by ranking certain constraints, and (in a phenomenon called factorial typology) the number of different grammars that can be formed in this way is limited to the number of permutations of the constraints. A paper reviewed by Ellison and Klein suggested an extension of this linguistic model in which ties between constraints are allowed, so that the ranking of constraints becomes a weak order rather than a total order. As they point out, the much larger magnitude of the ordered Bell numbers, relative to the corresponding
factorials, allows this theory to generate a much richer set of grammars.
Other If a fair coin (with equal probability of heads or tails) is flipped repeatedly until the first time the result is heads, the number of tails follows a
geometric distribution. The
moments of this distribution are the ordered Bell numbers. Although the
ordinary generating function of the ordered Bell numbers fails to converge, it describes a
power series that (evaluated at \tfrac1n and then multiplied by \tfrac2n) provides an
asymptotic expansion for the
resistance distance of opposite vertices of an n-dimensional
hypercube graph. Truncating this series to a bounded number of terms and then applying the result for unbounded values of n approximates the resistance to arbitrarily high order. In the algebra of
noncommutative rings, an analogous construction to the (commutative)
quasisymmetric functions produces a
graded algebra WQSym whose dimensions in each grade are given by the ordered Bell numbers. In
spam filtering, the problem of assigning weights to sequences of words with the property that the weight of any sequence exceeds the sum of weights of all its subsequences can be solved by using weight W(n) for a sequence of n words, where W(n) is obtained from the
recurrence equation W(n)=1+\sum_{k=1}^{n-1}\binom{n}{k}W(n-1), with base case W(1)=0. This recurrence differs from the one given earlier for the ordered Bell numbers, in two respects: omitting the W(0) term from the sum (because only nonempty sequences are considered), and adding one separately from the sum (to make the result exceed, rather than equalling, the sum). These differences have offsetting effects, and the resulting weights are the ordered Bell numbers. ==References==