Mathematics (JEE)ModerateCAT · MBA placement

How many functions f from {1, 2, 3, 4} to {1, 2, 3, 4, 5} are non-decreasing, meaning f(1) <= f(2) <= f(3) <= f(4)?

  1. A. 625
  2. B. 70
  3. C. 126
  4. D. 35

Correct answer: B. 70

A non-decreasing sequence of length 4 with values in {1,...,5} is a multiset of size 4 from 5 values, counted by C(5+4-1, 4) = C(8,4) = 70.

More Permutations, Combinations and Probability questions

Exams that ask this topic