1

I can do it by induction, thanks to the wonderful people of this website, but I'm not sure how to do it by the Division algorithm. Can anyone help me? I think I can show how 3 divides 2n, but I'm not sure how to show that 3 divides n³.

JCMcRae
  • 843
  • What about considering $n^3$ and $2n$ together and then show that whenever $n$ is odd or even, $n^3 + 2n$ is a multiple of $3$? – Nighty Oct 13 '14 at 07:04
  • 1
    "I think I can show how 3 divides 2n, but I'm not sure how to show that 3 divides n³" Actually none of these is true, for example 3 does not divide 2n = 2 when n = 1. – Did Oct 13 '14 at 07:12

4 Answers4

3

Note that $$n^3+2n=3n^2+n(n-1)(n-2),$$ hence it would suffice to show that $$3\mid 3n^2\qquad\text{and}\qquad 3\mid n(n-1)(n-2),$$ to deduce that indeed, $$3\mid n^3+2n.$$ Can you proceed?

Did
  • 279,727
2

$$n^3+2n=n^3-n+3n=\underbrace{(n-1)n(n+1)}_{\text{product of three consecutive integers}}+3n$$

See The product of n consecutive integers is divisible by n factorial

2

This is less elegant and less fun than Did's answer, but you could try using the Division Algorithm. The Division Algorithm says that you can find integers $q$ and $r$ such that $n=3q+r$ and $r$ is $0$, $1$, or $2$. So there are three cases: (i) $n=3q+0$, (ii) $n=3q+1$, and (iii) $n=3q+2$. In each case you can show that $n^3+2n$ is divisible by $3$.

For instance, here's how you can do case (iii): if $n=3q+2$ then $$n^3+2n=n(n^2+2)=n([3q+2]^2+2)=n(9q^2+12q+6),$$ and so $$\frac{n^3+2n}3=n(3q^2+4q+2)$$ is an integer, showing that $n^3+2n$ is divisible by $3$.

bof
  • 78,265
  • +1. A complete answer should probably include this basic always-working approach. – Did Oct 13 '14 at 07:42
0

Actually :

if n=3*k, then 3 divides n*(n^2 +2)

if n= 3*k +1 --> n^3 +2n = 1 + 2*1 = 0 mod(3)

if n= 3*k +2 --> n^3 +2*n = 8+ 4 = 0 mod(3)

So 3 always divides n^3 +2*n, for every n positive integer

mvggz
  • 1,965