Combinatorics
Warm-upHumanA youth council in Kigali has members. In how many ways can a working group of members be chosen? (All members of the group have the same role.)
A youth council in Kigali has members. In how many ways can a working group of members be chosen? (All members of the group have the same role.)
Find all whole numbers with . List them separated by commas.
How many five-card hands from a standard pack of cards contain at least one ace? (There are hands in all, and .)
What is the coefficient of in the expansion of ?
In the proof of Pascal's rule , the -person committees chosen from people are split by whether they contain Amina. Why are there exactly committees containing Amina?
In a class of students in Accra, play football, play basketball and play both. How many students play neither sport?
What is the smallest number such that any different whole numbers chosen from must include two whose difference is divisible by ?
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?
Write derangements(n) returning the number of ways to arrange hats so that nobody gets their own hat, using the inclusion–exclusion formula . Use exact integer arithmetic (math.factorial and //). Then check: does approach ?