JEE Main 2026 · 23 January · evening · Numerical answer · +4 / −1
Let S denote the set of 4-digit numbers abcd such that a>b>c>d and P denote the set of 5 -digit numbers having product of its digits equal to 20 . Then n( S)+n(P) is equal to ____
Answer and solution
Answer 260
Solution
Maths sir · 4 steps
Pick four digits and the order is forced; for P, split 20 into five digits and arrange them.
- Count S. Choose any 4 different digits from 0 to 9. Only one arrangement is strictly decreasing, so each choice gives exactly one number. The largest digit goes first, so a ≠ 0 every time, and 0 is allowed as d.
n(S) = C(10, 4) = 210
- Digits for P. Since 20 = 2² × 5, no digit can be 0, and exactly one digit is 5. The other four digits multiply to 4, so they are either 4, 1, 1, 1 or 2, 2, 1, 1.
- Arrange each set. Digits 5, 4, 1, 1, 1 give 5!/3! = 20 numbers. Digits 5, 2, 2, 1, 1 give 5!/(2! 2!) = 30 numbers. So n(P) = 50.
- So. n(S) + n(P) = 210 + 50 = 260.
The common slip: 176. Leaving out 0 when choosing the digits for S gives C(9, 4) = 126 and a total of 176. Zero can only be the last digit here, so it never makes a number invalid.
The idea to keep. When digits must be strictly increasing or decreasing, the order is fixed, so you only choose the digits. For a fixed digit product, factorise it first, list the digit sets, then arrange each set.
Answer from the NTA final answer key. Solution by PrepWiser.