Maths WorkshopMaths problems with full solutions
Exercise 334Number theory › Divisibility and gcdHigh schoolAdded 31 Oct 2026

6 divides n³ − n

#divisibility#factorisation

Statement

Prove that for every integer nn, the number n3−nn^3-n is divisible by 66.

Hint

Factor n3−nn^3-n.

Show solutionHide solution

Solution

We have n3−n=(n−1) n (n+1)n^3-n=(n-1)\,n\,(n+1), a product of three consecutive integers.

  • Among three consecutive integers, one is a multiple of 33.
  • Among them, at least one is even.

So the product is divisible by 22 and by 33. Since 22 and 33 are coprime, it is divisible by 66.