From GMAT Prep Exam
If n is a positive integer and the remainder is r when (n-1)(n+1) is divided by 24, what is the value of r?
(1) 2 is not a factor of n
(2) 3 is not a factor of n
Answer C
I can see that from the statements, n is an odd integer not divisible by 3. This means that n-1 and n+1 are even integers, and n must be either prime, or a multiple of 7, 5, 11, etc. but not 3. But either n-1 or n+1 must be divisible by 3. I am not really sure how to go from there.
Thanks!