Logo
Published on

Divisibility by 6: Criterion and Consequence

Authors
  • avatar
    Name
    Vu Hung
    Twitter

Problem Statement

For nZn \in \mathbb{Z}, prove that:

  • nn is divisible by 6 if and only if nn is divisible by 2 and 3.
  • n3nn^3 - n is divisible by 6.

Hints

Attempt the proof independently first. Focus on the key theorem, algebraic transformation, or contradiction setup that links the hypothesis to the target conclusion.


Solutions

Part (a): Biconditional Proof

Forward (    \implies): If 6n6 \mid n, then 2n2 \mid n and 3n3 \mid n.

Proof:

Assume 6n6 \mid n. Then n=6kn = 6k for some integer kk.

Write n=6k=2(3k)n = 6k = 2(3k). Since 3k3k is an integer, 2n2 \mid n.

Write n=6k=3(2k)n = 6k = 3(2k). Since 2k2k is an integer, 3n3 \mid n. \blacksquare

Reverse (    \impliedby): If 2n2 \mid n and 3n3 \mid n, then 6n6 \mid n.

Proof:

Assume 2n2 \mid n and 3n3 \mid n.

Then n=2an = 2a and n=3bn = 3b for some integers a,ba, b.

From n=2an = 2a, nn is even. From n=3bn = 3b, we have 2a=3b2a = 3b.

Since LHS is even, RHS 3b3b must be even. Since 3 is odd, bb must be even.

Write b=2cb = 2c for some integer cc.

Then:

n=3b=3(2c)=6cn = 3b = 3(2c) = 6c

Since cc is an integer, 6n6 \mid n. \blacksquare

Part (b): Using Part (a)

Goal: Prove 6(n3n)6 \mid (n^3 - n).

By part (a), sufficient to show 2(n3n)2 \mid (n^3 - n) and 3(n3n)3 \mid (n^3 - n).

Step 1: Factor

n3n=n(n21)=n(n1)(n+1)=(n1)n(n+1)n^3 - n = n(n^2 - 1) = n(n-1)(n+1) = (n-1)n(n+1)

This is the product of three consecutive integers.

Step 2: Prove 2(n3n)2 \mid (n^3 - n)

Among any three consecutive integers, at least one is even.

Therefore, (n1)n(n+1)(n-1)n(n+1) contains an even factor, so 2(n3n)2 \mid (n^3 - n). \checkmark

Step 3: Prove 3(n3n)3 \mid (n^3 - n)

Among any three consecutive integers, exactly one is divisible by 3.

Therefore, (n1)n(n+1)(n-1)n(n+1) contains a factor divisible by 3, so 3(n3n)3 \mid (n^3 - n). \checkmark

Conclusion

Since 2(n3n)2 \mid (n^3 - n) and 3(n3n)3 \mid (n^3 - n), and gcd(2,3)=1\gcd(2,3) = 1, by part (a):

6(n3n)6 \mid (n^3 - n)

\hfill \square


Takeaways

  • Coprime Divisibility: If gcd(a,b)=1\gcd(a,b) = 1 and both ana \mid n and bnb \mid n, then abnab \mid n
  • Consecutive Integer Properties: Among kk consecutive integers, exactly one is divisible by kk
  • Multi-part Strategy: Part (b) leverages part (a) to simplify proof (check divisibility by 2 and 3 separately)
  • Factorization: n3n=(n1)n(n+1)n^3 - n = (n-1)n(n+1) reveals structure as consecutive integer product

Further Readings

If you found this proof interesting, be sure to check out these relevant HSC booklets to sharpen your reasoning skills:


Connect with me

If you're eager for more HSC Maths insights, be sure to check out my GitHub. For deeper dives and regular tips, join my Website - Vu's Maths Hub. Let's tackle these challenging math problems together! You can also catch my daily math content on LinkedIn.