Mathematics of the COVID-19 pandemic