Code Format
The format of the ISSN is an eight digit number, divided by a hyphen into two four-digit numbers. The last digit, which may be 0–9 or an X, is a check digit. The ISSN of the journal Hearing Research, for example, is 0378-5955, the check digit is 5.
To calculate the check digit, the following algorithm may be used:
- Calculate the sum of the first seven digits of the ISSN multiplied by its position in the number, counting from the right — that is, 8, 7, 6, 5, 4, 3, and 2, respectively:
- .
- The modulus 11 of this sum is then calculated: divide the sum by 11 and determine the remainder.
- .
- If there is no remainder the check digit is 0, otherwise the remainder value is subtracted from 11 to give the check digit:
- 5 is the check digit.
- An upper case X in the check digit position indicates a check digit of 10.
To confirm the check digit, calculate the sum of all eight digits of the ISSN multiplied by its position in the number, counting from the right (if the check digit is X, then add 10 to the sum). The modulus 11 of the sum must be 0.
Read more about this topic: International Standard Serial Number
Famous quotes containing the word code:
“...I had grown up in a world that was dominated by immature age. Not by vigorous immaturity, but by immaturity that was old and tired and prudent, that loved ritual and rubric, and was utterly wanting in curiosity about the new and the strange. Its era has passed away, and the world it made has crumbled around us. Its finest creation, a code of manners, has been ridiculed and discarded.”
—Ellen Glasgow (18731945)