 Some checksum methods are based on the mathematics of prime numbers.For instance the checksums used in International Standard Book Numbers are defined by taking the rest of the number modulo 11, a prime number.Because 11 is prime this method can detect both single-digit errors and transpositions of adjacent digits.