To prove an integer is divisible by 24, it is enough to prove divisibility by 8 and by 3 separately, since 8 and 3 are coprime.
Prove that is divisible by 24 whenever is a prime number greater than 3.
Write . Since is prime, it is odd, so for an integer .
Then . One of two consecutive integers and is even, so this product is a multiple of 8.
The prime is not a multiple of 3. It is therefore one less or one more than a multiple of 3, making either or divisible by 3. Thus is divisible by both 3 and 8, hence by 24.
Screenshot any problem on your screen and get the steps. Chrome on a computer; free.