Problem: distributing labeled objects into unlabeled boxes
Classifications
EXAMPLE: Assigning 4 employees into 3 unlabeled offices. Each office can contain any number of employees.
:
:
:
:
1730, Stirling (1692-1770)
DEFINITION: , the Stirling number of the second kind, is defined as the # of ways of distributing labeled objects into unlabeled boxes s.t. no box is empty.
The number of ways of distributing labeled objects into unlabeled boxes is .
THEOREM: when .
: the # of ways of distributing labeled objects into labeled boxes such that no box is empty
: the set of ways of distributing labeled objects into labeled boxes.
By the product rule,
: the set of ways where exactly boxes are used,
is a partition of and
//
// inverse binomial transform
Type 4
Problem: distributing unlabeled objects into unlabeled boxes
Classifications
EXAMPLE: # of ways of distributing 4 identical books into 3 identical boxes.
REMARK: The schemes are determined by
Partitions of Integers
DEFINITION: is called an -partition with exactly parts if are all positive integers.
: the # of ways of writing as the sum of positive integers.
,
EXAMPLE: The integer 4 has 4 different partitions into parts
REMARK: solution to the type 4 problem
THEOREM: For , ,
Let the set of -partitions with exactly parts,
Let . Then . // right-hand side
Let the set of -partitions with exactly parts. Then . // left-hand side
is bijective
EXAMPLE: determine and with the above theorem
Computing Recursively
Generating Functions
Catalan number: , // there is a new tool to solve it
DEFINITION: The generating function of a sequence is .
Generating functions are formal power series; we do not discuss their convergence.
EXAMPLE: generating functions of sequences
,
,
,
DEFINITION: Let , .
if for all
Operations
DEFINITION: Let , .
for any constant
We say that is an inverse of if .
The inverse of is denoted as
When has an inverse, define
THEOREM: has an inverse if and only if .
EXAMPLE: Let . Find .
: exists
Denote ; are undetermined coefficients
:
Coefficient of :
Coefficient of :
Coefficient of :
Coefficient of :
, , …,
DEFINITION:
for all integers
, where is a constant
THEOREM: Let and .
DEFINITION: Let and . The extended binomial coefficient
THEOREM: Let be a real number with and let be a real number. Then .
Catalan数熟,但斯特林公式还是懵
整数分拆顺序n1≥n2…记不住啊,太反人类
这组合数学也太烧脑了吧,看得我头大 😂