Luhn algorithm: Difference between revisions

Content deleted Content added
Fix missing mod 10 at then end
Line 81:
The sum of the resulting digits is 56.
 
The check digit is equal to <math>(10 - (56\operatorname{mod} 10) \operatorname{mod} 10) = 4</math>.
 
This makes the full account number read 17893729974.