If 10 married couples are randomly seated at a round table, compute
(a) the expected number and
(b) the variance of the number of wives who are seated next to their husbands.
(a)Let $X_i$ be a random variable that is 1 if the i-th wife is seated next to her husband, 0 otherwise.
$X=\sum_{i=1}^{10} X_i$= number of wives seated next to their husband.
$E[X]=\sum_{i=1}^{10} E[X_i]=10* \frac{2}{19}=\frac{20}{19}$ with $E[X_i]=\frac{2*(20-2)}{(20-1)(20-2)}=\frac{2}{19}$
(b)
$$\begin{align} Var (X) &=Var (\sum_{i=1}^NX_i)\\ &=\sum_{i=1}^N Var (X_i)+2*\sum_{}^ {}\sum_{i Now I don't know how to calculate $E[X_i X_j]$ for $i $$\begin{align}E[X_i X_j] &= P(X_i=1,X_j=1)\\ &=P(X_i)P(X_j=1|X_i=1)\\ &=\frac{2}{19}*???\end{align}$$ in particular how to calculate $P(X_j=1|X_i=1)$ the probability that the j-th wife has her husband next to her if the i-th wife has her husband next to her I've tried and this is my attempt:
$$\frac{2*(17-2)}{(17-1)*(17-2)}+\frac{1}{17}=\frac{2}{16}+\frac{1}{17}$$ but the solution in the book is $\frac{2}{18}$