Content deleted Content added
Adding local short description: "Check digit algorithm", overriding Wikidata description "check digit algorithm presented by H. Michael Damm" |
remove background styling that frequently causes unreadable text in dark mode (via WP:JWB) |
||
Line 43:
== Example ==
The following operation table will be used.<ref name="fenwick2014" /> It may be obtained from the totally anti-symmetric quasigroup {{math|''x'' ∗ ''y''}} in Damm's doctoral dissertation page 111<ref name="dhmd" /> by rearranging the rows and changing the entries with the permutation {{math|1=''φ'' = (1 2 9 5 4 8 6 7 3)}} and defining {{math|1=''x'' ⋅ ''y'' = ''φ''<sup>−1</sup>(''φ''(''x'') ∗ ''y'')}}.
{| class="wikitable" style="text-align:center
|- style="color:#00A000"
|style="width:1.5em"| {{math|1=⋅}}
Line 90:
=== Calculating the check digit ===
{| class="wikitable" style="text-align:center
|- style="color:#00A000"
!style="color:black"| <span style="color:#00A000">digit to be processed</span> → column index
Line 110:
=== Validating a number against the included check digit ===
{| class="wikitable" style="text-align:center
|- style="color:#00A000"
!style="color:black"| <span style="color:#00A000">digit to be processed</span> → column index
|