Skip to content
The Lumenary

Practice · Grades 9–12

Combinatorics

Combinatorics

Warm-upHuman

A youth council in Kigali has 99 members. In how many ways can a working group of 44 members be chosen? (All members of the group have the same role.)

Combinatorics

Warm-upHuman

Find all whole numbers kk with (10k)=120\binom{10}{k} = 120. List them separated by commas.

Write elements separated by commas. Order and repeats don’t matter — just like in a set!

Combinatorics

CoreHuman

How many five-card hands from a standard pack of 5252 cards contain at least one ace? (There are (525)=2 598 960\binom{52}{5} = 2\,598\,960 hands in all, and (485)=1 712 304\binom{48}{5} = 1\,712\,304.)

Combinatorics

CoreHuman

What is the coefficient of x3x^3 in the expansion of (2x+1)5(2x + 1)^5?

Combinatorics

CoreHuman

In the proof of Pascal's rule (nk)=(n−1k−1)+(n−1k)\binom{n}{k} = \binom{n-1}{k-1} + \binom{n-1}{k}, the kk-person committees chosen from nn people are split by whether they contain Amina. Why are there exactly (n−1k−1)\binom{n-1}{k-1} committees containing Amina?

Choose one

Combinatorics

CoreHuman

In a class of 4040 students in Accra, 2222 play football, 1515 play basketball and 88 play both. How many students play neither sport?

Combinatorics

StretchHuman

What is the smallest number mm such that any mm different whole numbers chosen from 1,2,…,1001, 2, \dots, 100 must include two whose difference is divisible by 77?

Combinatorics

StretchFormal

Here s is a finite set of objects, t a finite set of boxes and f assigns a box to each object. Which Lean statement correctly formalises the pigeonhole principle?

Choose one

Combinatorics

StretchComputational

Write derangements(n) returning the number of ways to arrange nn hats so that nobody gets their own hat, using the inclusion–exclusion formula Dn=∑k=0n(−1)kn!k!D_n = \sum_{k=0}^{n} (-1)^k \dfrac{n!}{k!}. Use exact integer arithmetic (math.factorial and //). Then check: does Dn/n!D_n / n! approach 1/e≈0.36791/e \approx 0.3679?

Runs entirely in your browser, in an isolated worker. Nothing is sent to a server.