If n is a positive integer, define S(n) as the sum of all of the positive integer divisors of n. So for example, S(16) = 1 + 2 + 4 + 8 + 16 = 31. Now suppose n is an integer such that n + 1 is divisible by 24. Prove that S(n) is also divisible by 24.