How many 6-digit numbers contain exactly 4 different digits ?
Case 1: 4diff digits except 0 and repetition of any one out of 4
9c4* 6c4 *4! * 4c1= ...
Choose 4out of 9 digits then choose 4 location out of six , rearrange between them 4!, choose any one out of 4 to Repeat
Case 2:4diff digits including 0 and repetition of any one out of 4
9c3* 5c3 *4! * 4c1= 80640
Selecting any 3 out of 9 (zero already selected ) then CHOOSING 3 locations for (0 and other two in any 3 location except first Location) , but rearranging between (0 and other 3 ) ...
Arrangement that are being covered : 102400, 012400 etc
Nos starting with 0 : 0 _ _ _ _ _
9c3 * 5c3 * 3! *4c1= 20160
60480- 20160= 40320
Case3: 4 diff digits including 0 and two digits out of those 4
9c3 * 5c3 * 4! * 4c2 *2!= 241920
Eg:103501, 013501 etc
Numbers starting out with 0:
9c3 * 5c3 * 3! * 4c2 *2 = 60480
241920 - 60480= 181440
Case 4 : 4diff digits except 0 and two digits out of those 4:
9c4 * 6c4 * 4! * 4c2 * 2 =......
Adding them up gives 4lac something..
Answer is 2lac something
Case 1: 4diff digits except 0 and repetition of any one out of 4
9c4* 6c4 *4! * 4c1= ...
Choose 4out of 9 digits then choose 4 location out of six , rearrange between them 4!, choose any one out of 4 to Repeat
Case 2:4diff digits including 0 and repetition of any one out of 4
9c3* 5c3 *4! * 4c1= 80640
Selecting any 3 out of 9 (zero already selected ) then CHOOSING 3 locations for (0 and other two in any 3 location except first Location) , but rearranging between (0 and other 3 ) ...
Arrangement that are being covered : 102400, 012400 etc
Nos starting with 0 : 0 _ _ _ _ _
9c3 * 5c3 * 3! *4c1= 20160
60480- 20160= 40320
Case3: 4 diff digits including 0 and two digits out of those 4
9c3 * 5c3 * 4! * 4c2 *2!= 241920
Eg:103501, 013501 etc
Numbers starting out with 0:
9c3 * 5c3 * 3! * 4c2 *2 = 60480
241920 - 60480= 181440
Case 4 : 4diff digits except 0 and two digits out of those 4:
9c4 * 6c4 * 4! * 4c2 * 2 =......
Adding them up gives 4lac something..
Answer is 2lac something
Last edited: