This book is written for the student in mathematics. Its goal is to give a view of the theory of numbers, of the problems with which this theory deals, and of the methods that are used. We have avoided that style which gives a systematic development of the apparatus and have used instead a freer style, in which the problems and the methods of solution are closely interwoven. We start from concrete problems in number theory. General theories arise as tools for solving these problems. As a rule, these theories are developed sufficiently far so that the reader can see for himself their strength and beauty, and so that he learns to apply them. Most of the questions that are examined in this book are connected with the theory of diophantine equations – that is, with the theory of the solutions in integers of equations in several variables. However, we also consider questions of other types; for example, we derive the theorem of Dirichlet on prime numbers in arithmetic progressions and investigate the growth of the number of solutions of congruences.