Discrete mathematics is divided into six parts: mathematical logic, set theory, algebraic structure, combinatorial mathematics, graph theory and elementary number theory. The book not only has a rigorous and systematic theoretical exposition, but also has a wealth of application examples oriented to the development of computer science and technology, and selects a large number of typical examples and exercises. Each chapter is organized in a modular way, which can meet different teaching requirements. Electronic teaching plans and exercise guidance books supporting discrete mathematics will be launched one after another.