Counting, Probability & Sets

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.