Q.

The number of seven-digit numbers, that can be formed by using the digits 1, 2, 3, 4, 5 and 7 such that each digit is used at least once, is:         [2026]

1 15400  
2 17800  
3 16800  
4 29400  

Ans.

(3)

Case 1: One digit appears 3 times and other four digits appear once each.

Number of such arrangements

=C15×7!3!

=5×7×6×5×4×3×2×13×2×1=4200

Case 2: Two digits appear 2 times each and other three digits appear once each.

Number of such arrangements

=C25×7!2!2!

=5×42×7×6×5×4×3×22×2=12600

Total number of arrangements

= 4200 + 12600 = 12800