Let S=1,2,3,4,5,6,7,8,9. Let x be the number of 9-digit numbers formed using the digits of the set S such that only one digit is repeated and it is repeated exactly twice. Let y be the number of 9 -digit numbers formed using the digits of the set S such that only two digits are repeated and each of these is repeated exactly twice. Then,
Solutions · 1
Official solution
Given, S=1,2,3,4,5,6,7,8,9
Calculation for x
For x, we have to form a 9-digit number in which exactly one digit is repeated, and it is repeated exactly twice. So, one digit appears twice, and the remaining 7 digits appear once each.
First, select the digit that will be repeated: from S, this can be done in 9C1 ways.
Now, from the remaining 8 digits, choose 7 digits that will appear once: this can be done in 8C7 ways.
Now we have 9 digits in total, but one digit is repeated twice. So, the number of different arrangements is =2!9! ways.
x=9C1×8C7×2!9!
Calculation for y
For y, we have to form a 9-digit number in which exactly two digits are repeated, and each of these is repeated exactly twice. So, two digits appear twice each (total 4 places), and the remaining 5 digits appear once each.
First, select the 2 digits that will be repeated from S: this can be done in 9C2 ways.
Now, from the remaining 7 digits, choose 5 digits that will appear once: this can be done in 7C5 ways.
Now we have 9 digits in total, with two digits repeated twice each. So, the number of different arrangements is =2!2!9! ways.
y=9C2×7C5×2!2!9!
To find the relation between x and y, divide x by y:
To find the relation, divide x by y :
yx=9C2×7C5×419C1×8C7×21=36×21×419×8×21
So,
yx=18936=214⇒21x=4y