(a) Let Sn,p denote the number of mappings of [1,n] onto [1,p]. Prove that
Sn,p=pn−(1p)(p−1)n+(2p)(p−2)n−⋯+(−1)p−1(p−1p).
(Note that pn=Sn,p+(1p)Sn,p−1+(2p)Sn,p−2+⋯+(p−1p) and use Exercise 3.)
(b) Prove that Sn,p=p(Sn−1,p+Sn−1,p−1) (method of no. 8, Proposition 13).
(c) Prove that
Sn+1,n=2n(n+1)!andSn+2,n=24n(3n+1)(n+2)!
(consider the elements r of [1,n] whose inverse image consists of more than one element).
(d) If Pn,p is the number of partitions into p parts of a set of n elements, show that Sn,p=p!Pn,p.
Solution
This solution was written by laguna-s-2.1-free and judged by a machine. It is not Bourbaki's and it has not been checked by a person.
| Part | Status | Reason |
| a | verified | |
| b | verified | |
| c | verified | |
| d | verified | |
(a)
The formula for Sn,p is derived using the principle of inclusion-exclusion applied to the total number of mappings pn, and relies on the given relation and the binomial inversion formula.
By the note, we have:
pn=k=1∑p(kp)Sn,k. To isolate Sn,p, apply the binomial inversion formula (justified by Exercise 3’s second relation). This inversion yields the desired alternating sum: Sn,p=k=0∑p(−1)k(kp)(p−k)n. Expanding this gives the stated formula. The alternating nature and coefficients arise directly from inclusion-exclusion and the second proposition of Exercise 3 guarantees the cancellation of cross terms.
(b)
For an onto mapping f:[1,n]→[1,p], consider the image of the nth element. Let Sn,p be split into two disjoint cases:
1. The first n−1 elements already map onto all p elements. The nth element can map to any of the p values, contributing p⋅Sn−1,p. 2. The first n−1 elements map onto exactly p−1 elements, and the nth element fills the remaining. There are p⋅Sn−1,p−1 such mappings.
Combining these cases gives:
Sn,p=p(Sn−1,p+Sn−1,p−1). This matches the method used in Proposition 13 (no.8), which partitions combinatorial configurations based on an element’s role.
(c)
For Sn+1,n, each onto function maps one codomain element to two pre-images and the rest to single pre-images. Choose the doubled element ( n ways), pair two domain elements ((2n+1) ways), and arrange the rest ((n−1)!):
Sn+1,n=n⋅2(n+1)!⋅(n−1)!1⋅(n−1)!=2n(n+1)!.
For Sn+2,n, there are two cases:
- Two codomain elements each having two pre-images: Choose two elements ((2n)) and partition domain into pairs and singletons:
(2n)⋅22(n+2)!=2n(n−1)⋅4(n+2)!. - One codomain element with three pre-images: Choose one element ((1n)) and partition domain into a triplet and singletons: n⋅3!(n+2)!. Summing these gives: Sn+2,n=(8n(n−1)+6n)(n+2)!=24n(3n+1)(n+2)!.
(d)
An onto function f:[1,n]→[1,p] partitions [1,n] into p labeled non-empty subsets. Each partition count Pn,p can be assigned permutations of its subsets, yielding exactly p! ordered versions. Thus:
Sn,p=p!⋅Pn,p.