https://numbas.mathcentre.ac.uk/question/129490/branching-process-number-of-states.zip?