Credit-card numbers, International Standard Book Numbers, bank routing numbers, Universal Product Codes, Cusip numbers used to identify financial instruments, plus many other items all include a calculated “check digit” that allows the numbers to be automatically validated by a computer.