4

I am a student and this question is part of my homework.

May you tell me if my proof is correct?

Thanks for your help!

Prove that $(z^3-z)(z+2)$ is divisible by $12$ for all integers $z$.

$(z^3-z)(z+2)=z(z^2-1)(z+2)=z(z-1)(z+1)(z+2)=(z-1)(z)(z+1)(z+2)$

$(z-1)(z)(z+1)(z+2)$ means the product of $4$ consecutive numbers.

Any set of $4$ consecutive numbers has $2$ even numbers, then $(z-1)(z)(z+1)(z+2)$ is divisible by $4$.

Any set of $4$ consecutive number has at least one number that is multiple of $3$, then $(z-1)(z)(z+1)(z+2)$ is divisible by 3.

Therefore $(z-1)(z)(z+1)(z+2)$ is divisible by $12$. Q.E.D.

rubik
  • 9,344
Beginner
  • 1,170

1 Answers1

7

That's correct. Alternatively it is divisible by $\,24\,$ by integrality of binomial coefficients

$$\,(z+2)(z+1)z(z-1)\, =\, 4!\ \dfrac{(z+2)(z+1)z(z-1)}{4!}\, =\, 24{ {z+2\choose 4}}\qquad\qquad$$

Similarly $\,n!\,$ divides the product of $\,n\,$ consecutive naturals.

Bill Dubuque
  • 272,048
  • @billdubusque Would you mind to explain the last step? I used the binomial and factorial formulas and I got a different result. But, I really like the idea. I did not think about that possibility. Thanks! – Beginner Feb 12 '15 at 14:37
  • @Beginner $$ {z+2 \choose 4} ,=, \frac{(z+2)!}{4!,(z-2)!}, =, \frac{(z+2)(z+1)z(z-1)}{4!}$$ – Bill Dubuque Feb 12 '15 at 15:05
  • I had a mistake in my computations. Thanks for your help! – Beginner Feb 12 '15 at 15:29