An urn contains R red balls, G green balls, and B blue balls. A player randomly selects $9$ balls, doing this one by one and withOUT replacement. The player wins a dollar every time he selects three red balls in a row. (Assume $R\ge 3$ and $R + G + B \ge 9$.) To be more precise, a player receives a dollar after the $i^{th}$ draw, if he selected red balls on draws $i − 2, i − 1$, and $i$. Note that under these rules, a player drawing $4$ red balls in a row receives a total of $2$ dollars; a player drawing $5$ red balls in a row receives a total of $3$ dollars, etc. Let $X$ be the player’s total winnings.
Neee to find $E(X)$ and $E(X^2)$.
My work: Suppose we had the same setup WITH replacement, I would have defined $A_i:=$ (indicator) the event that $i,i+1\ \& \ i+2$ the balls are red. Then $X=\sum\limits_1^7 A_i$. And we have $E(A_i)=\left(\frac{R}{R+G+B}\right)^3$ . Also we have $E(A_i^2)=E(A_i)$ (since indicator) and $E(A_iA_j)$ can be found out very easily. Hence we solve the problem.
However I cant find a way to proceed in the WITHOUT replacement setup.