Challenges

The first student enrolled in Discrete Mathematics 2025 who sends a sophisticated proof to submit@discmath.ch will be compensated with a sweet treat in their next exercise session - be honest and don't use external tools :).

Please check that this challenge is unsolved before sending in your solutions.

Week 3

πŸ”“

SOLVED by rmajumdar, 02:00h after deployment (solution file):

Pigeonhole PartyDifficulty: 3/5Relevance: πŸŽ“πŸŽ“Source:Β  Leo Schmidt-Traub

Six mathematicians attend a party. Any two mathematicians either both know each other or both don't know each other. Prove that there must be a group of at least three mathematicians that either all know or all don't know each other.

Week 4

πŸ”“

SOLVED by rmajumdar, 12d 07:00h after deployment (solution file):

Taming the TupleDifficulty: 3/5Relevance: πŸŽ“πŸŽ“πŸŽ“πŸŽ“Source:Β  Leo Schmidt-Traub

In the script, you are told that the tuple (a,b)(a,b) can be uniquely defined as the set {{a},{a,b}}\{\{a\},\{a,b\}\}. (this means that for any tuples t1t_1 and t2t_2: t1=t2β€…β€ŠβŸΊβ€…β€ŠSt1=St2t_1=t_2\iff S_{t_1}=S_{t_2}, where St1,St2S_{t_1},S_{t_2} are the corresponding sets)

For an arbitrary set AA, we define Aβˆ—=⋃n=1∞AnA^*=\bigcup\limits_{n=1}^\infty A^n as the set of finite sequences in AA (where An=Γ—i=1nAA^n=\times_{i=1}^n A).

Find a way of uniquely defining each element of Aβˆ—A^* as a set and prove its correctness. (this set should only be made up of elements of AA, or nested sets containing elements of AA)

You are not allowed to assume that the set definition of a tuple shown in the script is adequate, and you are welcome to use a different definition.

Week 5

πŸ”“

SOLVED by rmajumdar, 04:00h after deployment (solution file):

DiscMath feat. LinAlgDifficulty: 2/5Relevance: πŸŽ“Source:Β  Hatim Abdel Ghaffar

Given a set AA and a relation ρ\rho on AA, explain how ρk\rho^k (k∈Nk \in \mathbb{N}) can be computed by the means of modified matrix multiplications.

πŸ”“

SOLVED by ngassner, 10h after deployment (solution file):

Repeating RelationsDifficulty: 2/5Relevance: πŸŽ“πŸŽ“Source:Β  Leo Schmidt-Traub

For any n∈Nβˆ–{0}n\in\mathbb N\setminus\{0\} and k∈{1,…,n}k\in\{1,\ldots,n\}, find a relation ρ\rho on A={1,…,n}A=\{1,\ldots, n\} satisfying ρk=ρ\rho^k=\rho and ρi≠ρjβˆ€i,j∈{1,…,kβˆ’1},iβ‰ j\rho^i\neq\rho^j\forall i,j\in\{1,\ldots,k-1\},i\neq j.

Week 6

πŸ”“

SOLVED by rmajumdar, 07:49h after deployment (solution file):

Bi(t)jectionDifficulty: 4/5Relevance: πŸŽ“πŸŽ“πŸŽ“Source:Β  Hatim Abdel Ghaffar

The goal of this exercise is to show that the set of all real numbers between 0 and 1, denoted [0,1][0, 1], is uncountable.

In this week's lectures, you encountered the set {0,1}∞\{0, 1\}^{\infty} of semi-infinite bitstrings. Cantor's diagonalization argument proves that this set is uncountable.

Through a slight modification of Cantor's diagonalization argument, one can also prove that the set of real numbers [0,1][0, 1] is uncountable. However, this exercise prohibits you from using that method.

Instead, use Theorem 3.16 (Bernstein–SchrΓΆder theorem) to show [0,1]∼{0,1}∞[0, 1] \sim \{0, 1\}^{\infty}, i.e., show that there is a bijection between these two sets to prove they are equinumerous. Then, conclude that [0,1][0, 1] must be uncountable.

Coloring the UncountableDifficulty: 4/5Relevance: πŸŽ“πŸŽ“πŸŽ“Source:Β  Leo Schmidt-Traub

You are working a summer job at the consulate of countability. You are tasked with coloring every point on an infinite piece of paper (you can think of this sheet as R2\mathbb R^2).

To overcome this seemingly insurmountable challenge, you're given an 'irrational stamp': after having selected a point p∈R2p\in\mathbb R^2, this stamp colors all points in R2\mathbb R^2 that are at an irrational (Euclidean) distance from pp, i.e. every q∈R2q\in\mathbb R^2 satisfying (xpβˆ’xq)2+(ypβˆ’yq)2∉Q\sqrt{(x_p-x_q)^2+(y_p-y_q)^2}\not\in\mathbb Q.

Is it possible to color the entire plane with a finite number of stamps? If so, what is the minimum number of times you must use your irrational stamp?

πŸ”“

SOLVED by ngassner, 2d 3:00h after deployment (solution file):

LatticeDifficulty: 3/5Relevance: πŸŽ“πŸŽ“πŸŽ“πŸŽ“πŸŽ“Source:Β  Leo Schmidt-Traub

Let AA be an arbitrary set, and Eq(A)\text{Eq}(A) the set of equivalence relations on AA.

Prove that (Eq(A);βŠ†)(\text{Eq}(A);\subseteq) is a lattice.

Week 7

Fermat's Little TheoremDifficulty: 3/5Relevance: πŸŽ“πŸŽ“πŸŽ“πŸŽ“Source:Β  Hatim Abdel Ghaffar

Fermat's Little Theorem:

Let pp be a prime number and aa an integer not divisible by pp. Then

apβˆ’1≑p1.a^{p-1} \equiv _{p} 1.

The lecture notes present an elegant proof of this theorem using group theory.
However, the tools provided in Chapter 4 are sufficient to prove the theorem by more elementary means.

Task: Using only the techniques introduced in Chapter 4, give an alternative proof of Fermat’s Little Theorem.

πŸ”“

SOLVED by dtratar, a long time after deployment (solution file):

Difficulty: 5/5Relevance: πŸŽ“πŸŽ“πŸŽ“Source:Β  Leo Schmidt-Traub

Consider the function f:Rβ‰₯0↦Rβ‰₯0f:\mathbb R_{\ge0}\mapsto \mathbb R_{\ge0} defined by f(x)=11+2⌊xβŒ‹βˆ’xf(x)=\frac{1}{1+2\lfloor x\rfloor-x} for all x∈Rβ‰₯0x\in \mathbb R_{\ge0}.

Prove that the sequence (un)n∈N(u_n)_{n\in\mathbb N} defined for all n∈Nn\in\mathbb N as:

un={0ifΒ n=0f(unβˆ’1)elseu_n= \begin{cases} 0 &\text{if }n=0\\ f(u_{n-1}) &\text{else} \end{cases}

visits every nonnegative rational number exactly once.

Week 10

4*4=4Difficulty: 2/5Relevance: πŸŽ“πŸŽ“πŸŽ“Source:Β  Leo Chen

Recall that an element aa of a ring RR is called idempotent if it satisfies

a2=a.a^2 = a.

Prove or disprove: There exist only finitely many rings in which every element is idempotent.

Challenges from the past year as well as their solutions can be found here