For every pair of 5s, the other two digits can be filled in 2 × 1 = 2 different ways.
There are 3 positions the pair of 5s can sit (first and second, second and third, or third and fourth digits)
→ there are 3 × 2 = 6 different possible numbers
(which are: 5589, 5598, 8559, 9558, 8955, 9855)
There are 6.
24
500
5040 different 4 digit numbers can be formed with the digits 123456789. This is assuming that no digits are repeated with each combination.
There are 5*4*3 = 60 such numbers.
1 set
It is 120 if the digits cannot be repeated.
27 if the digits can be repeated. 6 if not.
3x3x3=27
36
6*6*3 = 108 numbers.
4*3*2*1 = 24
6*5*4*3*2*1=720 possible numbers