GATE / CS ARCHIVE

GATE CSE 2010 / QUESTION 65

Four-digit numbers from a multiset

General Aptitude · Counting, Probability & Sets · Full GATE CSE 2010 paper

GATE 2010, Q65 2 marks · MCQ
Report issue

Counting, Probability & Sets

Question 65, GATE 2010: Using digits from the multiset {2,2,3,3,3,4,4,4,4}, how many distinct four-digit numbers greater than 3000 can be formed? A digit cannot be used more often than it occurs.
Options: (A) 50; (B) 51; (C) 52; (D) 54.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

The available digits are two 2s, three 3s and four 4s. A number above 3000 starts with 3 or 4. After a leading 3, the remaining three positions have 3³ possibilities except 222 and 333, giving 25. After a leading 4, only 222 is forbidden, giving 26; 444 is allowed because four 4s are available overall. Total 25+26=51, B. Equal copies are not distinguished.

Count arrangements of digit values, not permutations of distinguishable physical copies. There are initially 27 suffixes for either allowed leading digit. With leading 3, suffix 333 would require four 3s and 222 would require three 2s; with leading 4, only 222 exceeds supply. No leading 2 can produce a number above 3000, so the two cases are exhaustive.

Original paper, page 16