تاريخ الرياضيات
الاعداد و نظريتها
تاريخ التحليل
تار يخ الجبر
الهندسة و التبلوجي
الرياضيات في الحضارات المختلفة
العربية
اليونانية
البابلية
الصينية
المايا
المصرية
الهندية
الرياضيات المتقطعة
المنطق
اسس الرياضيات
فلسفة الرياضيات
مواضيع عامة في المنطق
الجبر
الجبر الخطي
الجبر المجرد
الجبر البولياني
مواضيع عامة في الجبر
الضبابية
نظرية المجموعات
نظرية الزمر
نظرية الحلقات والحقول
نظرية الاعداد
نظرية الفئات
حساب المتجهات
المتتاليات-المتسلسلات
المصفوفات و نظريتها
المثلثات
الهندسة
الهندسة المستوية
الهندسة غير المستوية
مواضيع عامة في الهندسة
التفاضل و التكامل
المعادلات التفاضلية و التكاملية
معادلات تفاضلية
معادلات تكاملية
مواضيع عامة في المعادلات
التحليل
التحليل العددي
التحليل العقدي
التحليل الدالي
مواضيع عامة في التحليل
التحليل الحقيقي
التبلوجيا
نظرية الالعاب
الاحتمالات و الاحصاء
نظرية التحكم
بحوث العمليات
نظرية الكم
الشفرات
الرياضيات التطبيقية
نظريات ومبرهنات
علماء الرياضيات
500AD
500-1499
1000to1499
1500to1599
1600to1649
1650to1699
1700to1749
1750to1779
1780to1799
1800to1819
1820to1829
1830to1839
1840to1849
1850to1859
1860to1864
1865to1869
1870to1874
1875to1879
1880to1884
1885to1889
1890to1894
1895to1899
1900to1904
1905to1909
1910to1914
1915to1919
1920to1924
1925to1929
1930to1939
1940to the present
علماء الرياضيات
الرياضيات في العلوم الاخرى
بحوث و اطاريح جامعية
هل تعلم
طرائق التدريس
الرياضيات العامة
نظرية البيان
Codabar
المؤلف:
W.D. Wallis
المصدر:
Mathematics in the Real World
الجزء والصفحة:
134-135
11-2-2016
1667
The Codabar system is used by many credit card companies, and also by libraries, blood banks, and other companies.
A Codabar number has an even number of digits: an odd number of digits to identify the account, plus one check digit. There are five steps in calculating the check digit:
1. add together the digits in the odd-numbered positions (first, third, and so on) of the identity number;
2. multiply this sum by 2;
3. count how many of the odd-numbered digits are greater than 4, and add the answer to the product from step 2;
4. add the digits in the even-numbered positions of the identity number, and add this sum to the result of step 3;
5. the check digit is the number that, when added to the result of step 4, would make the total exactly divisible by 10.
Sample Problem 1.1What is the check digit that would be attached to the Codabar identity number 3125600196431?
Solution. The odd-position digits are 3,2,6,0,9,4,1, and their sum is 25. So the answer to step 1 is 25 and, to step 2, 50. Two of these digits are greater than 4, so the answer to step 3 is 52. The even-position digits, 1,5,0,1,6,3, have sum 16, giving total 68. So the check digit is 2.
To check whether a number is a legitimate Codabar number, we ignore the last digit and calculate the check digit for the remaining number.
Sample Problem 1.2 Is 3125700143750015 a legitimate Codabar number?
Solution. 3+2+7+0+4+7+0+1= 24; twice this is 48. There are two digits over 4, so the total becomes 50. The even digits add to 15, giving a total of 65.
So the check digit is 5, and the number is legitimate.
The Codabar method detects a lot more errors than the simpler methods we saw in the preceding question. In particular, if two adjacent digits are exchanged, the odd-position and even-position sums are changed, and in most cases the check digit will be altered. It has been estimated that Codabars catch about 98% of errors.