calculate gcd
luhn calculator