MathDB
Cycle conditions in group of permutations determine f(2021)

Source: 2021 Macedonian Team Selection Test P4

May 30, 2021
combinatoricsalgebra

Problem Statement

Let S={1,2,3,2021}S=\{1, 2, 3, \dots 2021\} and f:SSf:S \to S be a function such that f(n)(n)=nf^{(n)}(n)=n for each nSn \in S. Find all possible values for f(2021)f(2021). (Here, f(n)(n)=f(f(ff(n timesn)))))f^{(n)}(n) = \underbrace{f(f(f\dots f(}_{n \text{ times} }n)))\dots)).)
Proposed by Viktor Simjanoski