The package ValidCASNumberQ.m implements the function ValidCASNumberQ which checks if its input is a valid CAS number. Its argument can be a string (e.g. "7440-35-9") or an integer (e.g. 7440359). For integer arguments, remove the dashes in the CAS number.