In: Advanced Math
Let S be the set of all integers x > 6543 such that the decimal representation of x has distinct digits, none of which is equal to 7, 8, or 9. (The decimal representation does not have leading zeros.) Determine the size of the set S.
(do not just write out all elements of S.)