My teacher gave the following question as a practice question for the exam... I was just wondering if someone could check if my answer is correct:
A group of n ≥ 3 people is sitting at a round table, so that each person has two neighbors, one clockwise neighbor and one counter clockwise neighbor. Each person flips a fair and independent coin. A person starts singing if and only if (i) his coin comes up heads, (ii) the coin of his clockwise neighbor comes up tails, and (iii) the coin of his counter clockwise neighbor comes up tails. Let X be the random variable whose value is the number of people that are singing. What is the expected value E(X) of X?
So the chance of any of the given n people getting heads with both of their neighbours getting tails is $\frac{1}{8}$. So $X_i = \frac{1}{8}$
Then, using linearity of expectation:$$\mathbb{E}\big(X\big) = \mathbb{E}\bigg(\sum\limits_{i=1}^n X_i \bigg) = \sum\limits_{i=1}^n \frac{1}{8} = \frac{n}{8}$$ Is this correct?