Is 342 divisible by 5 or 6?

342 is divisible by 6 and not 5.

Numbers divisible by 5 end in zeros or fives

Numbers divisible by 6 have a slightly more complicated rule. If, when the individual digits are added together and they make a multiple of 3, see if the number is even. If so, and the digits add up to a multiple of 3, then the number is a divisible by 6.