Software installers contain specific routines that check whether an entered serial number conforms to a predetermined mathematical pattern.