An introduction to the theory of numbers - Niven, Ivan (new york John wiley & sons, 2000)