Problem

Source: IMOC 2021 C1

Tags: combinatorics, IMOC



The numbers $1,2,\cdots,2021$ are arranged in a circle. For any $1 \le i \le 2021$, if $i,i+1,i+2$ are three consecutive numbers in some order such that $i+1$ is not in the middle, then $i$ is said to be a good number. Indices are taken mod $2021$. What is the maximum possible number of good numbers? CSJL