PUZZLE #4458: Luhn Algorithm (diff 2)
Credit card PAN with Luhn check digit verification. Masked: ************1766. Length: 16. Verify the check digit is valid.
DATA
| Pan |
5424180279791766
|
| Hint |
Double every second digit from the right. Sum all digits. Compute (10 - (sum % 10)) % 10. PAN: 5424180279791766. What is the check digit?
|
| Answer Format |
single digit 0-9 (Luhn check digit)
|
author's note: Pool fill: luhn diff 2
— website sponsored —
[ ad space ]