Sorry, I know this will be a duplicate on the site but the other solution I found confusing and the method look completely different to what I was taught.
Prove that $n^3 + 5n$ is divisible by $6$ by using induction
The question is
Prove by mathematical Induction $(n^3+5n)$ is divisible by $6$
Here is what I have done
Assume $n=k$ is true
$\sum_{1}^{k} k =\dfrac{(k^3+5k)}{6}$
Now assume $n=k+1$ is true
$\sum_{1}^{k+1} k+1 =\dfrac{(k+1)^3+5(k+1)}{6}$
Then now
$\dfrac{(k+1)^3+5(k+1)}{6}=\sum_{1}^{k} k + (k+1)$
$\dfrac{(k+1)^3+5(k+1)}{6}=\dfrac{(k^3+5k)}{6} + (k+1)$
$\dfrac{(k+1)^3+5(k+1)}{6}=\dfrac{(k^3+5k)}{6} + \dfrac{(6k+6)}{6}$
$\dfrac{(k+1)^3+5(k+1)}{6}=\dfrac{(k^3+11k+6)}{6}$
But the other side doesnt equate (LHS)
$\dfrac{(k^3+3k^2+3k+1)+5k+5}{6}$
$\dfrac{(k^3+3k^2+8k+6)}{6}\ne\dfrac{(k^3+11k+6)}{6}$
I hope my method was clear enough so you can see where I went wrong. It would be much more use to me if you solved it as I learn better from looking at solutions and then applying them to other questions.
As an alternative for induction step assume $n^3+5n=6k$ is true and we need to prove that $(n+1)^3+5(n+1)=6h$.
Let observe that
$$(n+1)^3+5(n+1)=n^3+3n^2+3n+1+5n+5=3n^2+3n+6+(n^3+5n)=\\=3n^2+3n+6(k+1)$$
then we need to show that $3n^2+3n$ is divisibleby $6$ wich can be easily verified by plugging $n=2r$ and $n=2s+1$.