Sex Ratio with a Girl-Stopping Rule

EasyProbability

Reported in interviews at Optiver

Problem statement

You stumble upon an isolated civilization in a rainforest. The culture strongly prefers daughters: every couple keeps having children until they have a girl, then stops. Assume each child is equally likely to be a boy or a girl, independently of all others.

After many generations, what fraction of the children in this society are girls?

Show hint

Which tool lets you add up expected contributions across many independent families?

Relevant roles: Data Scientist, Applied Scientist and ML Engineer.

Related free problems