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