Luhn algorithm: Difference between revisions

Content deleted Content added
WINFOSOFT (talk | contribs)
Tags: Reverted Mobile edit Mobile web edit
WINFOSOFT (talk | contribs)
Tags: Reverted Mobile edit Mobile web edit
Line 67:
|-
! Sum digits
|'''5''' (9-14)
|9
|'''9''' (9-18)
|2
|''5''' (9-14)
|3
|'''9''' (9-18)
|8
|'''5''' (9-14)
|1
|}
 
The sum of the resulting digits is 6736.
 
The check digit is equal to <math>10 - (6736\operatorname{mod} 10) = 3</math>.
 
This makes the full account number read 7992739871379927398714.
 
=== Example for validating check digit ===