Ok, let's go:
Credit Card --> CC
A CC has 16 numbers, from #0 to #15.
1.- Pick up #0, #2, #4, #6, #8, #10, #12, #14 an multiply it for two. If a result is bigger than 9, sum their ciphers.
2.- Sum the results and the rest of the original numbers.
3.- If the result is divided by ten, the CC is valid.
EXAMPLE 1:
CC: 4296 0105 8243 6752
42= 8
92=18 -> 1+8= 9
02= 0
02= 0
82=16 -> 1+6= 7
42= 8
62=12 -> 1+2= 3
52=10 -> 1+0= 1
(8+9+0+0+7+8+3+1) + (2+6+1+5+2+3+7+2) = 64
NOT VALID !!!!
EXAMLE 2:
CC: 4296 0105 8243 6758
42= 8
92=18 -> 1+8= 9
02= 0
02= 0
82=16 -> 1+6= 7
42= 8
62=12 -> 1+2= 3
52=10 -> 1+0= 1
(8+9+0+0+7+8+3+1) + (2+6+1+5+2+3+7+8) = 70
VALID !!!!