Let there be $n$ people standing in a circle and holding hands with probability $p$.
What is the expectation value $E(X)$ for the number of 'chains' when $p=.5$?
For what $p$ is $E(X)$ largest?
Edit: a chain is defined by two or more people next to one another holding hands.
I made a short python script to run a monte carlo simulation on this. In this, I assumed that if there was a ring (so everyone holds hands), then this would not be a chain. One could do it the other way, but this way means that the number of chains can be counted by counting the number of substrings in the ring that are equal to $T,F$.
Under these conditions it looks like the peak is pretty much at $p=0.5$ for all $n$. In fact the graph looks pretty much exactly like $np(p-1)$, like one of the commenters guessed.
The code, in case you're interested, is here: