Problem
We call a -digit number interesting if it is divisible by , and all its digits are different. How many interesting numbers does there exist?
Note that a number is divisible by if and only if a number is also divisible by . This is because and we subtract from the original number.