So I just came across this question and can find nothing like it online.
Suppose you have the numbers $1- 18$ and you randomly distribute them around a circle. What is the expected number of numbers that are greater than both numbers next to them? For example, if you had the sequence $. . . 3 6 4 . . . $, $6$ fulfills the condition but $3$ and $4$ cannot.
You need to do each number individually. I thought for any number $i$ the probability is $1/3$ as it needs to be greater than both of them. However, I think this is wrong. The probability it is greater than any one of its neighbors is obviously $1/2$, but the condition of being greater than one of the neighbors changes the condition of being greater than the second one I assume.
If I found this, then the expected value would just be $18$ times this number. Does anyone have ideas for this? Thanks