Books are identified by an International Standard Book Number (ISBN), a 10-digit code x1 x2…x10, assigned by the publisher. These 10 digit

Question

Books are identified by an International Standard Book Number (ISBN), a 10-digit code x1 x2…x10, assigned by the publisher. These 10 digits consist of blocks identifying the language, the publisher, the number assigned to the book by its publishing company, and finally, a 1-digit check digit that is either a digit or the letter X (used to represent 10). This check digit is selected so that \sum_{i=1}^{10} ix_i \equiv 0 \text{ mod } 11 and is used to detect errors in individual digits and transposition of digits.

a. The ISBN for a book is 1-32-794182- Q} where Q is the check digit. What is Q?
b. The ISBN of another book is 2-429-39M18-6. Find the digit M.

in progress 0
Thu Giang 2 days 2021-07-21T05:19:50+00:00 1 Answers 0 views 0

Answers ( )

    0
    2021-07-21T05:21:21+00:00

    Answer:

    Q = 1

    M = 2

    Step-by-step explanation:

    Solving (a):

    Given: 1-32-794182- Q

    Required: Find Q

    To do this, we first multiply each digit in descending order of 10.

    So, we have:

    Product = 1 * 10 + 3 * 9 + 2 * 8 + 7 * 7 + 9 * 6 + 4 * 5 + 1 * 4 + 8 * 3 + 2 * 2 + Q * 1

    Product = 208 + Q *1

    Product = 208 + Q

    Equate the modulus of the product by 11 to 0

    Product \% 11 = 0

    (208 + Q) \% 11 = 0

    The next number greater than 208 divisible by 11 is 209.

    So, we have:

    (208 + Q) \% 11 = 209 \% 11

    Express 209 as 208 + 1

    (208 + Q) \% 11 = (208 + 1)\% 11

    By comparison:

    Q = 1

    Hence, the checksum is 1

    Solving (a):

    Given: 2-429-39M18-6

    Required: Find M

    Apply the same step in (a)

    So, we have:

    Product = 2 * 10 + 4 * 9 + 2 * 8 + 9 * 7 + 3 * 6 + 9 * 5 + M * 4 + 1 * 3 + 8 * 2 + 6 * 1

    Product = 198 + 4M + 25

    Product = 223+ 4M

    Equate the modulus of the product by 11 to 0

    Product \% 11 = 0

    (223+ 4M) \% 11 = 0

    The next number greater than 223 divisible by 11 is 231.

    So, we have:

    (223+ 4M) \% 11 = 231 \% 11

    Express 231 as 223 + 8

    (223+ 4M) \% 11 = (223 + 8) \% 11

    By comparison:

    4M = 8

    Divide both sides by 4

    M = 2

Leave an answer

Browse

Giải phương trình 1 ẩn: x + 2 - 2(x + 1) = -x . Hỏi x = ? ( )