So I have stumbled upon this question recently and though I solved it I'm not sure if it's correct or not.
A fair $6$-sided die is rolled repeatedly until a $6$ is obtained. Find the expected number of rolls conditioned on the event that none of the rolls yielded an odd number.
My attempt:
Let $X$ be the random varibale denoting the no of rolls required until a $6$ is obtained. Without any given condition $X \sim Geom(\frac16)$ But $$\mathbb{P}(\text{obtaining a }6 | \text{roll does not yield an odd number})= \frac13$$ so, $$X | \text{none of the rolls yielded an odd number} \sim Geom\bigl(\frac13\bigr)$$ and hence $$\mathbb{E}(X | \text{none of the rolls yielded an odd number})= 3$$
Is this the correct answer? Is there any other approach? Any help would be very much appreciated!