Päevaülesanne

Juhuslik

Harjutuskomplekt

Balti Tee 2020 · Ülesanne 8

Kombinatoorika

Let nn be a given positive integer. A restaurant offers a choice of nn starters, nn main dishes, nn desserts and nn wines. A merry company dines at the restaurant, with each guest choosing a starter, a main dish, a dessert and a wine. No two people place exactly the same order. It turns out that there is no collection of nn guests such that their orders coincide in three of these aspects, but in the fourth one they all differ. (For example, there are no nn people that order exactly the same three courses of food, but nn different wines.) What is the maximal number of guests?

Muuda valikut

Kui oled valmis

Ülevaatematerjal muutub kättesaadavaks järgmise päevaülesannete komplektiga.

Ülevaade

Teemad

Värvimised ja konfiguratsioonid · Dirichlet’ printsiip ja ekstremaalargumendid

Lahendused

Lahendus

Answer: The maximal number of guests is n4−n3n^4 - n^3. The possible menus are represented by quadruples

(a,b,c,d),1≤a,b,c,d≤n.(a, b, c, d), \quad 1 \le a, b, c, d \le n.

Let us count those menus satisfying

a+b+c+d≢0(modn).a + b + c + d \not\equiv 0 \pmod{n}.

The numbers a,b,ca, b, c may be chosen arbitrarily (nn choices for each), and then dd is required to satisfy only d≢−a−b−cd \not\equiv -a - b - c. Hence there are

n3(n−1)=n4−n3n^3(n - 1) = n^4 - n^3

such menus. If there are n4−n3n^4 - n^3 guests, and they have chosen precisely the n4−n3n^4 - n^3 menus satisfying a+b+c+d≢0(modn)a+b+c+d \not\equiv 0 \pmod{n}, we claim that the condition of the problem is fulfilled. So suppose there is a collection of nn people whose orders coincide in three aspects, but differ in the fourth. With no loss of generality, we may assume they have ordered exactly the same food, but nn different wines. This means they all have the same value of a,ba, b and cc, but their values of dd are distinct. A contradiction arises since, given a,ba, b and cc, there are only n−1n-1 values available for dd. We now show that for n4−n3+1n^4 - n^3 + 1 guests (or more), it is impossible to obtain the situation stipulated in the problem. The n3n^3 sets

Ma,b,c={(a,b,c,d)∣1≤a,b,c,d≤n},1≤a,b,c≤n,M_{a,b,c} = \{(a, b, c, d) \mid 1 \le a, b, c, d \le n\}, \quad 1 \le a, b, c \le n,

form a partition of the set of possible menus, totalling n4n^4. When the number of guests is at least n4−n3+1n^4 - n^3 + 1, there are at most n3−1n^3 - 1 unselected menus. Therefore, there exists a set Ma,b,cM_{a,b,c} which contains no unselected menus. That is, all the nn menus in Ma,b,cM_{a,b,c} have been selected, and the condition of the problem is violated.

Võistluse kontekst

Balti Tee tulemused 2020

10 võistkonda

Keskmine tulemus
3,2 / 5
4 või 5 punkti
6 / 10
Eesti
5 / 5

Punktijaotus

02
11
21
30
41
55
Kõigi võistkondade punktid
VõistkondPunktid
Germany5 / 5
Norway5 / 5
Poland0 / 5
Finland2 / 5
Latvia4 / 5
Estonia5 / 5
Denmark5 / 5
Sweden5 / 5
Lithuania0 / 5
Iceland1 / 5