9042 is an even number, so it is divisible by 2.
The sum of the digits of 9042 is 9 + 0 + 4 + 2 = 15, which is divisible by 3. So, the number is also divisible by 3.
If the number is divisible by 2 and 3, then it is divisible by 6 as well. Thus, we can conclude that 9042 is divisible by 6.