The Seven Dwarfs write down all 7-digit numbers that can be formed using each of the digits 1,2,3,4,5,6,7 exactly once (for example, 3175426 is one of their numbers). The Wicked Witch, using the phrase "divide and conquer" literally, looks for pairs (a,b) of such numbers so that b is a multiple of a but a cannot equal b. How many pairs are there?
Tags: