An introduction to the theory of numbers - Niven, Ivan Morton (Wiley, 1976)