Since n is odd, n−1 and n+1 are two consecutive even numbers; hence one of them is divisible by 2 and the other by 4.
Again n−1,n,n+1 are three consecutive numbers; hence one of them is divisible by 3. Thus the given expression is divisible by the product of 2,3 and 4, that is, by 24.