Introduction to the theory of numbers - Shapiro, Harold N. (New York John Wiley, 1983)