Source: https://www.maths.ox.ac.uk/system/files/attachments/sage-introduction.pdf