Source: https://www.mathcentre.ac.uk/resources/uploaded/mc-ty-difftakelogs-2009-1.pdf