Exercise 1.2.20 (Integers of the form $3k + r$)

Given integers a and b , a number n is said to be of the form ak + b if there is an integer k such that ak + b = n . Thus the numbers of the form 3 k + 1 are 8 , 5 , 2 , 1 , 4 , 7 , 10 , . Prove that every integer is of the form 3 k or of the form 3 k + 1 or of the form 3 k + 2 .

Answers

beginproof The division algorithm (Theorem 1.2) shows that, for any integer n , there exist unique integers k and r such that

n = 3 k + r , 0 r < 3 .

So every integer is of the form 3 k or of the form 3 k + 1 or of the form 3 k + 2 , the three cases being mutually exclusive.

User profile picture
2024-09-28 09:46
Comments