Taral wrote: >What are you smoking, Zefram? See my message before about M and N >being arbitrary (different) digits.
Your formula will accept digits M and N and output digits 2 to 9. Not so useful if M=3 and N=7: you have no way to get 0 and 1 digits. The complexity in my formula is due to the need to output all digits except for M and N, where M and N are arbitrary. -zefram