These resources are for a week for lectures for Mathematical Programming. This was week 8 of the course and had students apply computational skills to number theory. The following week built on this to cover applications to cryptography.
Lecture 1
Lecture 2
Students were given tutorial exercises and an assessed homework. These (and indeed the lectures) were supplied as jupyter notebooks. The samples below have been converted to pdf and the process is a little unkind to the formatting. Fortunately, the ones students were given were nicer to look at.
Tutorial questions
Homework sheet
The course included a group project. There was a choice of topics, one of which directly extended the material from this section.