Mathematics (JEE)HardJEE Main · JEE Advanced

The number of non-decreasing functions f : {1, 2, 3} → {1, 2, …, 7} (that is, f(1) ≤ f(2) ≤ f(3)) is:

  1. A. 35
  2. B. 343
  3. C. 210
  4. D. 84

Correct answer: D. 84

A non-decreasing function is a multiset of 3 values from 7, listed in order. The number of such multisets is ⁷⁺³⁻¹C₃ = ⁹C₃ = 84. (35 = ⁷C₃ counts only the strictly increasing ones.)

More Permutations, Combinations and Probability questions

Exams that ask this topic