Practice

#2 Inclusion-Exclusion

Log in to track solved progress and bookmarks.
Filter: Reset
#2.1
#2.1

Two Sets

Inclusion-exclusion Grade 8 Grade 9 ★★☆☆☆

In a class, \(18\) students study English, \(14\) study German, and \(6\) study both. How many students study at least one of these languages?

Details
Problem: COM-B2-M02-P001
Difficulty: Level 2 of 5
Tag: Inclusion-exclusion
Grade: Grade 8, Grade 9
#2.2
#2.2

Divisible by \(3\) or \(5\)

Counting Grade 8 Grade 9 ★★☆☆☆

How many integers from \(1\) to \(200\) are divisible by \(3\) or by \(5\)?

Details
Problem: COM-B2-M02-P002
Difficulty: Level 2 of 5
Tag: Counting
Grade: Grade 8, Grade 9
#2.3
#2.3

At Least One Letter \(A\)

Counting Grade 8 Grade 9 ★★☆☆☆

How many words of length \(6\) over the alphabet \(\{A,B,C,D\}\) contain at least one letter \(A\)?

Details
Problem: COM-B2-M02-P003
Difficulty: Level 2 of 5
Tag: Counting
Grade: Grade 8, Grade 9
#2.4
#2.4

All Three Letters

Inclusion-exclusion Grade 8 Grade 9 ★★☆☆☆

How many words of length \(5\) over the alphabet \(\{A,B,C\}\) contain all three letters?

Details
Problem: COM-B2-M02-P004
Difficulty: Level 2 of 5
Tag: Inclusion-exclusion
Grade: Grade 8, Grade 9
#2.5
#2.5

Derangements of Four Elements

Permutations Grade 8 Grade 9 ★★☆☆☆

How many permutations of \(4\) elements have no fixed points?

Details
Problem: COM-B2-M02-P005
Difficulty: Level 2 of 5
Tag: Permutations
Grade: Grade 8, Grade 9
#2.6
#2.6

Not Divisible by \(2,3,5\)

Divisibility Grade 9 Grade 10 ★★★☆☆

How many integers from \(1\) to \(1000\) are divisible by none of \(2,3,5\)?

Details
Problem: COM-B2-M02-P006
Difficulty: Level 3 of 5
Tag: Divisibility
Grade: Grade 9, Grade 10
#2.7
#2.7

Onto Three Values

Inclusion-exclusion Grade 9 Grade 10 ★★★☆☆

How many functions from a \(6\)-element set to a \(3\)-element set are onto?

Details
Problem: COM-B2-M02-P007
Difficulty: Level 3 of 5
Tag: Inclusion-exclusion
Grade: Grade 9, Grade 10
#2.8
#2.8

Three Forbidden Positions

Permutations Grade 9 Grade 10 ★★★☆☆

How many permutations of \(1,\ldots,8\) place \(1,2,3\) away from their own positions?

Details
Problem: COM-B2-M02-P008
Difficulty: Level 3 of 5
Tag: Permutations
Grade: Grade 9, Grade 10
#2.9
#2.9

Derangement Formula

Permutations Grade 9 Grade 10 ★★★☆☆

Prove that the number of permutations of \(n\) elements with no fixed points is \(D_n=n!\sum_{i=0}^{n}\frac{(-1)^i}{i!}\).

Details
Problem: COM-B2-M02-P009
Difficulty: Level 3 of 5
Tag: Permutations
Grade: Grade 9, Grade 10
#2.10
#2.10

Exactly Two Fixed Points

Permutations Grade 9 Grade 10 ★★★☆☆

How many permutations of \(7\) elements have exactly \(2\) fixed points?

Details
Problem: COM-B2-M02-P010
Difficulty: Level 3 of 5
Tag: Permutations
Grade: Grade 9, Grade 10
#2.11
#2.11

Zero, One, and Two Occur

Inclusion-exclusion Grade 9 Grade 10 ★★★☆☆

How many strings of length \(8\) over decimal digits contain each of the digits \(0,1,2\) at least once?

Details
Problem: COM-B2-M02-P011
Difficulty: Level 3 of 5
Tag: Inclusion-exclusion
Grade: Grade 9, Grade 10
#2.12
#2.12

Two Pairs of Restrictions

Permutations Grade 9 Grade 10 ★★★☆☆

How many permutations of \(1,\ldots,6\) place \(1\) away from position \(1\), \(2\) away from position \(2\), \(3\) away from position \(3\), and \(4\) away from position \(4\)?

Details
Problem: COM-B2-M02-P012
Difficulty: Level 3 of 5
Tag: Permutations
Grade: Grade 9, Grade 10
#2.13
#2.13

General Formula for Surjections

Inclusion-exclusion Grade 10 Grade 11 ★★★★☆

Prove that the number of onto functions from an \(n\)-element set to an \(m\)-element set is \(\sum_{i=0}^{m}(-1)^i\binom mi(m-i)^n\).

Details
Problem: COM-B2-M02-P013
Difficulty: Level 4 of 5
Tag: Inclusion-exclusion
Grade: Grade 10, Grade 11
#2.14
#2.14

Exactly \(k\) Fixed Points

Permutations Grade 10 Grade 11 ★★★★☆

Prove that the number of permutations of \(n\) elements with exactly \(k\) fixed points is \(\binom nkD_{n-k}\).

Details
Problem: COM-B2-M02-P014
Difficulty: Level 4 of 5
Tag: Permutations
Grade: Grade 10, Grade 11
#2.15
#2.15

Recurrence for Derangements

Permutations Grade 10 Grade 11 ★★★★☆

Prove the recurrence \(D_n=(n-1)(D_{n-1}+D_{n-2})\) for \(n\ge2\).

Details
Problem: COM-B2-M02-P015
Difficulty: Level 4 of 5
Tag: Permutations
Grade: Grade 10, Grade 11
#2.16
#2.16

Forbidden Positions in Rook Form

Permutations Grade 10 Grade 11 ★★★★☆

How many permutations \(\pi\) of \(1,\ldots,5\) satisfy \(\pi(1)\ne1\), \(\pi(1)\ne2\), \(\pi(2)\ne1\)?

Details
Problem: COM-B2-M02-P016
Difficulty: Level 4 of 5
Tag: Permutations
Grade: Grade 10, Grade 11
#2.17
#2.17

Contribution of One Object

Inclusion-exclusion Grade 10 Grade 11 ★★★★☆

Prove the general inclusion-exclusion formula by explaining the contribution of one object that belongs to exactly \(r\) of the sets \(A_1,\ldots,A_m\).

Details
Problem: COM-B2-M02-P017
Difficulty: Level 4 of 5
Tag: Inclusion-exclusion
Grade: Grade 10, Grade 11
#2.18
#2.18

First \(r\) Not Fixed

Permutations Grade 10 Grade 11 ★★★★★

Prove that the number of permutations of \(n\) elements in which elements \(1,2,\ldots,r\) are not fixed is \(\sum_{i=0}^{r}(-1)^i\binom ri(n-i)!\).

Details
Problem: COM-B2-M02-P018
Difficulty: Level 5 of 5
Tag: Permutations
Grade: Grade 10, Grade 11
#2.19
#2.19

All Boxes Nonempty

Inclusion-exclusion Grade 10 Grade 11 ★★★★★

How many ways are there to distribute \(n\) distinct balls among \(m\) distinct boxes so that every box is nonempty? Derive a formula.

Details
Problem: COM-B2-M02-P019
Difficulty: Level 5 of 5
Tag: Inclusion-exclusion
Grade: Grade 10, Grade 11
#2.20
#2.20

No Fixed Points and No Transpositions

Permutations Grade 10 Grade 11 ★★★★★

Derive a formula for the number of permutations of \(n\) elements with no fixed points and no cycles of length \(2\).

Details
Problem: COM-B2-M02-P020
Difficulty: Level 5 of 5
Tag: Permutations
Grade: Grade 10, Grade 11