Identify the odd one out based on the following pattern: 2, 4, 8, 16, 24.

Answer: D. 24
All numbers except 24 are powers of 2. 24 does not fit the pattern.