Introduction to the theory of numbers - Niven, Ivan (New Delhi, 1984)