https://numbas.mathcentre.ac.uk/question/11938/probability-mass-function-of-string-of-heads-from-weighted-coin/embed/