Sup did this one somewhere b4 but don't have physical sol rn so bro but do this like factor a out and then simplify the quadratic U have
Now U get three terms
A-1 a and a+1
From here U know these are consecutive
So like
Hence one of a-1 and a must be a multiple of 2
And in
A-1 a and a+1 one of them must be multiple of 3
Voila
This means a-1 a and a+1 are multiples of both 2 and 3
And hence
A3-a is a divisible by 6 cuz it's multiple of 6
Sos if it's confusing the way I've formatted it. I'm pretty sure this is the way to do it the q