Let $(x_1,x_2,\dots,x_{100})$ be a permutation of $(1,2,...,100)$. Define $$S = \{m \mid m\text{ is the median of }\{x_i, x_{i+1}, x_{i+2}\}\text{ for some }i\}.$$Determine the minimum possible value of the sum of all elements of $S$.
Problem
Source: 2018 Thailand TST 4.2
Tags: number theory
22.11.2022 10:42
Interesting problem.
@above. BTW, anyone with sol to the generalized situation?$(100\rightarrow n)$
22.11.2022 15:27
CHN_Lucas wrote: Interesting problem.
@above. BTW, anyone with sol to the generalized situation?$(100\rightarrow n)$ not really. for example,\[100,2,1,99,4,3,98,6,5,\cdots,68,66,65,67\]
22.11.2022 15:58
But 67 is the median of {65,67,100},so I think the answer is 1189
22.11.2022 16:06
but the problem does not define $x_{101}=x_1,x_{102}=x_2$,so I think $1\leq i\leq 98$.
22.11.2022 16:33
If so then 1122 is right.But I prefer the circle than the line.
23.11.2022 07:45
The original problem meant the circle actually. Anyway, the generalized situation seemed harder and more challenging.
23.11.2022 15:15
Quidditch wrote: Let $(x_1,x_2,\dots,x_{100})$ be a permutation of $(1,2,...,100)$. Define $$S = \{m \mid m\text{ is the median of }\{x_i, x_{i+1}, x_{i+2}\}\text{ for some }i\}.$$Determine the minimum possible value of the sum of all elements of $S$. The problem meant line. We can generalized for $n=3k+1$