An introduction to the theory of numbers - Niven, Ian (John Wiley & Sons, 1965)