JEE Main 2023 · 29 January · morning · Numerical answer · +4 / −0
Five digit numbers are formed using the digits 1, 2, 3, 5, 7 with repetitions and are written in descending order with serial numbers. For example, the number 77777 has serial number 1. Then the serial number of 35337 is ____________.
Answer and solution
Answer 1436
Solution
Maths sir · 3 steps
In descending order, count every number bigger than 35337, then add 1 for 35337 itself.
- What to count. The list starts at 77777 and goes down. So the serial number of 35337 is (numbers greater than 35337) + 1. Each place can take any of the 5 digits, because repetition is allowed.
- Go place by place. At each place, keep the digits of 35337 already fixed. Put a bigger digit than the one in 35337 at the current place, and fill every place after it freely in 5 ways each.
Fixed so far Bigger digit here Free places after Count none 5 or 7 (bigger than 3) 4 2 × 5⁴ = 1250 3 7 (bigger than 5) 3 1 × 5³ = 125 35 5 or 7 (bigger than 3) 2 2 × 5² = 50 353 5 or 7 (bigger than 3) 1 2 × 5 = 10 3533 none (7 is the largest) 0 0 1250 + 125 + 50 + 10 + 0 = 1435
- So. 1435 numbers come before 35337, so its serial number is 1435 + 1 = 1436.
The common slip: 1690. Counting the smaller digits at each place, as if the list were in ascending order, gives 1690. In descending order only the bigger digits come first.
The idea to keep. For rank in descending order, count the numbers that are larger, one place at a time, using only bigger digits at that place. With repetition allowed, every later place has all n choices. Then add 1.
Answer from the NTA final answer key. Solution by PrepWiser.