Daily

Random

Practice set

Baltic Way 2024 · Problem 9

Combinatorics

Let SS be a finite set. For a positive integer nn, we say that a function f:S→Sf: S \rightarrow S is an nn-th power if there exists some function g:S→Sg: S \rightarrow S such that

f(x)=g(g(…g(x)…))⏟g applied n times f(x)=\underbrace{g(g(\ldots g(x) \ldots))}_{g \text { applied } n \text { times }}

for each x∈Sx \in S. Suppose that a function f:S→Sf: S \rightarrow S is an nn-th power for each positive integer nn. Is it necessarily true that f(f(x))=f(x)f(f(x))=f(x) for each x∈Sx \in S ?

Change pool

When you’re ready

Review material becomes available with the next Daily.

Review

Topics

Pigeonhole and extremal arguments

Solutions

Solution 1

Since SS is finite, there is a finite set of all functions {g1,g2,…,gk}\left\{g_{1}, g_{2}, \ldots, g_{k}\right\} from SS to itself. Consider a function FF that assigns to each positive integer nn one of these functions such that ff is the nn-th power of the function F(n)F(n). So FF induces a partition of the set of all positive integers into sets PiP_{i} consisting of all the integers nn such that F(n)=giF(n)=g_{i}. For any positive integer NN, consider the complete graph KNK_{N} on NN vertices labeled 1 through NN. We will colour the edges of KNK_{N} in kk colours C1,C2,…,CkC_{1}, C_{2}, \ldots, C_{k} according to the partition in the following way: If ∣x−y∣|x-y| lies in PiP_{i}, colour the edge between xx and yy in the colour CiC_{i}. By Ramsey's theorem we can take NN to be large enough that there is a monochromatic triangle in KNK_{N}. This means that there are three integers x,yx, y and zz and an index ii for which ∣x−y∣,∣y−z∣,∣z−x∣∈Pi|x-y|,|y-z|,|z-x| \in P_{i}. Hence there are three integers a,b,c∈Pia, b, c \in P_{i} such that a+b=ca+b=c. Therefore, some function gi:S→Sg_{i}: S \rightarrow S satisfies f(x)=gia(x)=gib(x)=gia+b(x)f(x)=g_{i}^{a}(x)=g_{i}^{b}(x)=g_{i}^{a+b}(x) for each x∈Sx \in S. Hence, f(f(x))=gia(gib(x))=gia+b(x)=f(x)f(f(x))=g_{i}^{a}\left(g_{i}^{b}(x)\right)=g_{i}^{a+b}(x)=f(x) for each x∈Sx \in S. Remark: The fact that there is an index ii for which PiP_{i} contains three integers a,b,ca, b, c such that a+b=ca+b=c is known as Schur's theorem.

Solution 2

Pick x∈Sx \in S arbitrarily and denote y=f(x)y=f(x). We need to prove that f(y)=yf(y)=y. Let n=∣S∣n=|S| and consider the function g:S→Sg: S \rightarrow S such that f=gn!f=g^{n!}. As we must have gn!(x)=yg^{n!}(x)=y, the element yy must occur among the first nn terms of the sequence x,g(x),g2(x),…x, g(x), g^{2}(x), \ldots, i.e., gk(x)=yg^{k}(x)=y for some k<nk<n. So gn!−k(y)=yg^{n!-k}(y)=y, or putting it otherwise, gn!−k−1(g(y))=yg^{n!-k-1}(g(y))=y. Like before, we obtain that yy must occur among the first nn terms of the sequence g(y),g2(y),…g(y), g^{2}(y), \ldots, i.e., gl(y)=yg^{l}(y)=y for some l≤nl \leq n. So certainly gn!(y)=yg^{n!}(y)=y as l∣nl \mid n !. This proves the claim.

Contest context

Results from Baltic Way 2024

11 teams

Mean score
1.3 / 5
Scores of 4 or 5
3 / 11
Estonia
4 / 5

Score distribution

08
10
20
30
41
52
All team scores
TeamScore
Poland5 / 5
Estonia4 / 5
Germany5 / 5
Ukraine0 / 5
Latvia0 / 5
Norway0 / 5
Lithuania0 / 5
Sweden0 / 5
Denmark0 / 5
Finland0 / 5
Iceland0 / 5