Answer:
if q is odd
Explanation:
Hello,
Either q is odd or is even.
Case 1 - we can find k integer so that q = 2k
Then, in the case

This is not divisible by 8, for instance, q = 6

Case 2 - we can find k integer so that q = 2k+1

k(k+1) is divisible by 2 so the initial number is divisible by 8
Conclusion, the answer is q is odd.
Thanks