Exercises

ex04-01

Easy

Compute S(5,2)S(5, 2) using the recurrence S(n,k)=kS(n1,k)+S(n1,k1)S(n,k) = k \cdot S(n-1,k) + S(n-1,k-1).

ex04-02

Easy

Verify that k=04S(4,k)=B4=15\sum_{k=0}^{4} S(4, k) = B_4 = 15 by computing each S(4,k)S(4, k).

ex04-03

Easy

A box contains 20 light bulbs, of which 4 are defective. You draw 5 without replacement. What is P(exactly 1 defective)\mathbb{P}(\text{exactly 1 defective})?

ex04-04

Easy

If XPoisson(3)X \sim \text{Poisson}(3), compute P(X2)\mathbb{P}(X \leq 2).

ex04-05

Easy

Show that the sum k=0nc(n,k)=n!\sum_{k=0}^{n} c(n, k) = n! for all n0n \geq 0.

ex04-06

Medium

Prove the identity k=0nS(n,k)k!(mk)=mn\sum_{k=0}^{n} S(n, k) \cdot k! \cdot \binom{m}{k} = m^n for all m,n0m, n \geq 0.

ex04-07

Medium

Derive the Bell number recurrence Bn+1=k=0n(nk)BkB_{n+1} = \sum_{k=0}^{n}\binom{n}{k}B_k using the EGF eex1e^{e^x - 1}.

ex04-08

Medium

Show that the hypergeometric distribution is symmetric in its parameters: Hyp(N,K,n)\text{Hyp}(N, K, n) assigns the same probabilities as Hyp(N,n,K)\text{Hyp}(N, n, K) (interpreting the second as "draw KK items from a population with nn marked").

ex04-09

Medium

A base station has N=200N = 200 orthogonal pilot sequences. If K=50K = 50 devices each select a pilot uniformly at random (with replacement), what is the expected number of pilots chosen by exactly 0 devices? By exactly 1 device? Use the Poisson approximation.

ex04-10

Medium

Prove that the mode of Poisson(λ)\text{Poisson}(\lambda) is λ\lfloor\lambda\rfloor when λ\lambda is not an integer, and both λ\lambda and λ1\lambda - 1 when λ\lambda is a positive integer.

ex04-11

Medium

In the birthday problem with n=365n = 365 days, use the Poisson approximation to estimate the smallest group size kk such that the probability of at least one shared birthday exceeds 50%.

ex04-12

Medium

Let p(n,k)p(n, k) denote the number of integer partitions of nn into exactly kk parts. Show that p(n,k)=p(n1,k1)+p(nk,k)p(n, k) = p(n-1, k-1) + p(n-k, k) for nk1n \geq k \geq 1.

ex04-13

Hard

Prove the explicit formula S(n,k)=1k!j=0k(1)kj(kj)jnS(n, k) = \frac{1}{k!}\sum_{j=0}^{k}(-1)^{k-j}\binom{k}{j}j^n by inclusion-exclusion on surjections.

ex04-14

Hard

Let XHyp(N,K,n)X \sim \text{Hyp}(N, K, n). Show that as NN \to \infty, KK \to \infty, nn \to \infty with K/NpK/N \to p, n/N0n/N \to 0, we have Xnpnp(1p)dN(0,1)\frac{X - np}{\sqrt{np(1-p)}} \xrightarrow{d} \mathcal{N}(0, 1).

ex04-15

Hard

(Le Cam bound — tightness) Construct an example where the Le Cam bound dTVpi2d_{\mathrm{TV}} \leq \sum p_i^2 is tight up to a constant factor.

ex04-16

Hard

Prove that k=0n(1)kS(n,k)=0\sum_{k=0}^{n}(-1)^k S(n, k) = 0 for all n1n \geq 1.

ex04-17

Hard

Show that the number of derangements (permutations with no fixed points) of [n][n] is Dn=n!k=0n(1)kk!D_n = n! \sum_{k=0}^{n}\frac{(-1)^k}{k!} using the Stirling numbers of the first kind.

ex04-18

Hard

Let X1,,XnX_1, \ldots, X_n be independent with XiPoisson(λi)X_i \sim \text{Poisson}(\lambda_i). Show that XiPoisson(λi)\sum X_i \sim \text{Poisson}(\sum \lambda_i) using moment generating functions.

ex04-19

Challenge

(Dobinski's formula) Prove that Bn=1ek=0knk!B_n = \frac{1}{e}\sum_{k=0}^{\infty}\frac{k^n}{k!} for all n0n \geq 0.

ex04-20

Challenge

(Stein-Chen method preview) Let X1,,XnX_1, \ldots, X_n be dependent Bernoulli random variables with P(Xi=1)=pi\mathbb{P}(X_i = 1) = p_i and W=XiW = \sum X_i. Using the Stein-Chen bound: dTV(L(W),Poisson(λ))1eλλ(ipi2+ijE[XiXj])d_{\mathrm{TV}}(\mathcal{L}(W), \text{Poisson}(\lambda)) \leq \frac{1 - e^{-\lambda}}{\lambda}\left(\sum_i p_i^2 + \sum_{i \neq j}\mathbb{E}[X_i X_j]\right) apply this to the birthday problem (nn people, dd days) to bound the total variation distance between the number of colliding pairs and Poisson((n2)/d)\text{Poisson}(\binom{n}{2}/d).