Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 1.2.20 (Integers of the form $3k + r$)
Exercise 1.2.20 (Integers of the form $3k + r$)
Given integers and , a number is said to be of the form if there is an integer such that . Thus the numbers of the form are . Prove that every integer is of the form or of the form or of the form .
Answers
beginproof The division algorithm (Theorem 1.2) shows that, for any integer , there exist unique integers and such that
So every integer is of the form or of the form or of the form , the three cases being mutually exclusive.