What mathematical skills do you need to understand computers and the problems they can solve? This text introduces the basic ideas of set theory, logic and combinatorics and is intended for those who work alone and whose experiences of mathematics may have been somewhat intimidating.