An Introduction to the theory of numbers - Niven, Ivan (Wiley, 1972)