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