An introduction to the theory of numbers - Niven, Ivan