Discrete Mathematics with Applications 4th Edition

Published by Cengage Learning
ISBN 10: 0-49539-132-8
ISBN 13: 978-0-49539-132-6

Chapter 4 - Elementary Number Theory and Methods of Proof - Exercise Set 4.4 - Page 190: 28

Answer

See below.

Work Step by Step

(a) Let the three consecutive integers be $n, n+1, n+2$, we have: case1: if $n=3k+0$, then $n$ is divisible by 3; case2: if $n=3k+1$, then $n+2=3k+3$ is divisible by 3; case3: if $n=3k+2$, then $n+1=3k+3$ is divisible by 3; Since the remainder can be $0,1,2$ only, the above cases should cover all the possibilities, thus the product of $n(n+1)(n+2)$ is divisible by 3 in any case. (b) Let the three consecutive integers be $n, n+1, n+2$, we have: case1: if $n$ mod $3=0$, then $n$ is divisible by 3; case2: if $n$ mod $3=1$, then $(n+2)$ mod $3=0$ and $n+2$ is divisible by 3; case3: if $n$ mod $3=2$, then $(n+1)$ mod $3=0$ and $n+1$ is divisible by 3; Since the remainder can be $0,1,2$ only, the above cases should cover all the possibilities, thus we have $n(n+1)(n+2)$ mod $3=0$ in any case.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.