I have the answer for the first part of this question but how would I get the second part?
How many integers from 1 through 9999 have distinct digits? How many
contain exactly one 7 and one 9? Note that digit strings with leading zeroes (like 085)
are not considered valid integers.
I have an answer of 814 but I'm not sure if that's right because the steps I took don't feel right...
How many integers from 1 through 9999 have distinct digits? How many
contain exactly one 7 and one 9? Note that digit strings with leading zeroes (like 085)
are not considered valid integers.
I have an answer of 814 but I'm not sure if that's right because the steps I took don't feel right...