Question 1081901
Part (a)


The number must be between 5000 and 6000 so the number must start with 5. Any other starting point and we're not between 5000 and 6000. 


If we pull out the digit '5', we're left with 5 other choices: 1,2,3,4,6


Imagine that the four digit number is composed of 4 slots A through D. The first slot A is locked in at 5. The other 3 slots (slot B,C,D) can change. 


Slot B has 5 choices
Once we make a choice, we have 4 choices left for slot C
Slot D will have 3 choices


Overall, there are 5*4*3 = 60 different permutations when it comes to picking 3 items from a set of 5. 


The answer to part (a) is <font size=4 color=red>60</font>


-------------------------------------------------------------


Part (b)


Repeats are allowed now so we can reuse the digit '5' if we want to. There are still 3 slots to fill since the first slot is locked to be 5 (see explanation above).


The slots that aren't locked up (B through D) each have 6 choices giving 6*6*6 = 6^3 = 216 different three-digit combinations


So there are 216 different numbers we can form that are between 5000 and 6000.


The answer to part (b) is <font size=4 color=red>216</font>