I am doing a refresher for a work course and I'm a little stuck the question asks the following
You have a sack with 7 marbles inside 4 Blue and 3 Green
You draw all the marbles (without replacing them) and check their color.
If you let X represent the value of n if the first blue marble appears on the nth draw.
Obviously P(b) is 4/7 and P(g) = 3/7
My assumption was that: 4/7*(1+2+3+4+5+6+7) = (4/7)*1 + (4/7)*2 + (4/7)*3 ... (4/7)*7 = 16
But that seems entirely nonsensical value for X to take given that you can only pull 7 marbles from the sack.
I assume that is because the probability is obviously not static at 4/7.
If I look at the probability of the draws being green before being blue I end up with: X=1 = 3/7 X=2 = 2/6 X=3 = 1/5
[(3/7)*1+ (2/6)*2 + (1/5)*3 ] = 1.67
But after this I'm a little stuck
Where am I going wrong?
A hint
$X=1$ has probability $4/7$. Then $X=2$ has probability $3/7\times 4/6$ and so on.
Can you see what to do now?