Number Theory divisibility proof

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
jersiq1
Messages
7
Reaction score
0

Homework Statement


Prove that for any n [tex]\in[/tex] Z+, the integer (n(n+1)(n+2) + 21) is divisible by 3


Homework Equations



A previously proved lemma (see below)

The Attempt at a Solution



I sort of just need a nudge here. I have a previously proven lemma which states:

If d|a and d|b, then d|(a+b)

So armed with this I see that obviously 3|21 and all that remains is to prove n(n+1)(n+2) is divisible by 3. I have tried expanding, which didn't seem to help.
 
Physics news on Phys.org
n(n+1)(n+2) is the product of __ consecutive integers.
 
Wow! staring me in the face. Thanks.