SMS dit: Elementary number theory and its applications