Question #85800

Prove that for all integers n, n(n + 2)(n + 4) is divisible by 3.

Expert's answer

Answer on Question #85800 – Math – Discrete Mathematics

Question

Prove that for all integers nn, n(n+2)(n+4)n(n + 2)(n + 4) is divisible by 3.

Solution

There are only 3 possible remainders when dividing by 3, namely 0, 1, 2.

If nn has the remainder 0 (that is, nmod3=0n \mod 3 = 0), it means that nn is divisible by 3 and hence n(n+2)(n+4)n(n + 2)(n + 4) is divisible by 3 too because nn is a multiplier of the expression n(n+2)(n+4)n(n + 2)(n + 4).

If nn has the remainder 1 (that is, nmod3=1n \mod 3 = 1), then (n+2)(n + 2) is divisible by 3 because (n+2)(n + 2) has the remainder 1+2=31 + 2 = 3 and it is the same as to have the remainder 0mod30 \mod 3, therefore n(n+2)(n+4)n(n + 2)(n + 4) is divisible by 3 too.

If nn has the remainder 2 (that is, nmod3=2n \mod 3 = 2), then (n+4)(n + 4) is divisible by 3 because (n+4)(n + 4) has the remainder 2+4=62 + 4 = 6 and it is the same as to have the remainder 0mod30 \mod 3, therefore n(n+2)(n+4)n(n + 2)(n + 4) is divisible by 3 too.

Thus, in any case n(n+2)(n+4)n(n + 2)(n + 4) is divisible by 3.

Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS