Anonymous user
Luhn test of credit card numbers: Difference between revisions
m
no edit summary
(C.f. SEDOL) |
mNo edit summary |
||
Line 16:
6 + 7 + 9 + 7 + 9 + 4 = 42 = s1
The even digits:
1, 8, 3, 2, 9
Two times each even digit:
2, 16, 6, 4, 18
Sum the digits of each
2, 7, 6, 4, 9
Sum the last:
2 + 7 + 6 + 4 + 9 = 28 = s2
s1 + s2 = 70 which ends in zero which means that 49927398716 passes the Luhn test</pre>
|