It would probably make more sense if you converted the number to binary since that's how it's being used. One class to a binary position; 1 = useable, 0 = not. 0100010010000000 in binary, for example, is the same as 17536 in decimal and it's easier to see which classes are being allowed.
|