https://numbas.mathcentre.ac.uk/question/126342/formula-for-the-cgf.zip?