I have some questions about numbers and I think about The "Inclusion-Exclusion Principle" too... but I am not sure.
I. In how many ways can I choose a five digit number from the number 0 - 9 , and be sure that one digit is performing twice at the number?
II. How many numbers do we have between 3000 to 8000 such that all of their digits are different?
III. Is there any connection between those questions to The "Inclusion-Exclusion Principle"?
Any help will be appreciated!
For number 1, I have a few questions:
If one or more digits have to appear at least twice, then the problem is straightforward without inclusion-exclusion. (Simply subtract the number of numbers that use each digit exactly once from the total number of five-digit numbers.)
If exactly one digit has to appear exactly twice, the question is also straightforward without inclusion-exclusion. (Choose which digit is to appear twice and which digits are to appear once, and permute in all possible ways.)