0
$\begingroup$

If $a$ is an odd integer, prove that $24 \mid a(a^2-1)$.

I proved in my class that $a^2=8k+1$ for some $k$, provided $a$ was odd.

So $$a(a^2-1)=(2k-1)(8k+1-1)=8k(2k-1)$$ but I can't pull a $24$ out of it.

$\endgroup$
1
  • 3
    $\begingroup$ Factor $a^2-1$. What can you say about $a-1$, $a$, and $a+1$? $\endgroup$
    – Lynn
    Sep 9, 2015 at 7:11

2 Answers 2

2
$\begingroup$

Since $a$ is an odd integer, $a=2n+1$ where $n\ge0$ is an integer.

$a(a^2-1)=(2n+1)(4n^2+4n+1-1)=(2n+1)(4n)(n+1)=(2n+1)(4)(2k)=8k(2n+1)$

where $n(n+1)$ is product of two consecutive integers, one of which has to be even, and hence $n(n+1)$ has to be even. It can be written as $2k$ where $k$ is an integer

$a(a^2-1)$ is therefore divisible by 8.

Also $a(a^2-1)=(a-1)(a)(a+1)$ is divisible by 3 as one of three consecutive integers has to be divisible by 3.

Therefore, $a(a^2-1)$ is divisible by 24

$\endgroup$
1
$\begingroup$

You have already shown that $8$ is a factor, so you just need to show that $3$ is also a factor of the number. This can be done in a similar way. If $a$ is divisible by $3$, then clearly so is $a(a^2-1)$. Otherwise $a=3k\pm1$ for some $k$. But then $a^2-1 = 9k^2\pm 6k = 3(3k^2\pm 2k)$ which is divisible by $3$.


Edit Marius gives an alternative way to see the divisibility by $3$ in the comments. It should potentially also explicitly be stated that that we can consider the divisibility by $3$ and by $8$ separately because $3$ and $8$ are relatively prime.

$\endgroup$
1
  • 3
    $\begingroup$ More simply, $a(a^2-1)$ equals $(a-1)a(a+1)$, three consecutive integers, one of which 3 must divide. $\endgroup$
    – Lynn
    Sep 9, 2015 at 7:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .