He used to hold a general course of mathematics and a threeyear cycle of lectures on differential equations the theory of analytic functions and algebra including number theory

What is the correctly punctuated version of this sentence?
He used to hold a general course of mathematics and a three-year cycle of lectures on differential equations, the theory of analytic functions, and algebra including number theory.