let $X_t$ for $t \in \{1,2,...,10\}$ be a sequence of independent tosses of a fair coin. We denote heads with 1 and tails with 0. Define the random variable $S_n=\sum_{t=1}^n X_t$ for $n \in \{1,2,...,10\}$. let event $A=S_{10}=8$.
What is the distribution of $X_3|A$ ? (that is the distribution of $X_3$ conditionally on the event $A$)
(b) What is the distribution of $X_4|A$ ?
(c) Conditionally on the event $A$; are $X_3$ and $X_4$ still independent?
(d) What is the distribution of $S_5$ ? (without any conditioning this time).
(e) What is the distribution of $S_5|A$ ?
I Have no idea how to answer this question.any help is appreciated. I know it is to be done using Markov chains but don't understand how. What i attempted was $P(X_{t+1}=1|X_t=1)=a$ and $P(X_{T+1}=0|X_t=0)=b$ then i formed my transition matrix to be $$\begin{pmatrix} a & 1-a \\ b & 1-b\end{pmatrix}.$$
Except in question (d) (which is quite obvious on its own), everything is conditioned on $A$ hence this is as if one had $n=10$ balls in a bag, $w=8$ of them white and $n-w=2$ black, which were drawn one by one, $X_k$ being $1$ if the $k$th ball drawn is white and $0$ otherwise. Thus: