find the numbers between 5000 and 6000 can be formed from the digits 1-6 if repeated digits are allowed
X X X X -it is your 4 digit number between 5000 and 6000
5 1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 6
The numbers below the X is the numbers wich you can put in term s of X . SO on the thousands digit you can put only one number (5) , on the hundreds digit you can put six numbers (1,2,3,4,5,6) and so on...
1×6×6×6=216