Foundations of topological dynamics, homeomorphisms, flows, periodic and recurrent points, transitivity and minimality, symbolic dynamics. Elements of ergodic theory, invariant measures and sets, ergodicity, ergodic theorems, mixing, spectral theory, flows and sections. Applications of dynamical systems to number theory, the Weyl theorem, the distribution of values of polynomials, Vander Waerden's theorem on arithmetic progressions.