JEE Main 2023 · 31 January · morning · Numerical answer · +4 / −0
Let 5 digit numbers be constructed using the digits 0,2,3,4,7,9 with repetition allowed, and are arranged in ascending order with serial numbers. Then the serial number of the number 42923 is __________.
Answer and solution
Answer 2997
Solution
Maths sir · 3 steps
Fix the digits of 42923 one place at a time and count every number that comes before it.
- Set up. In ascending order the digits are 0, 2, 3, 4, 7, 9. With repetition allowed, each free place has 6 choices, but the first place cannot be 0. So count all valid numbers smaller than 42923, place by place.
Numbers starting with Smaller digit in that place Count first digit < 4 2 or 3 (not 0) 2 × 6⁴ = 2592 4, then second digit < 2 0 1 × 6³ = 216 42, then third digit < 9 0, 2, 3, 4, 7 5 × 6² = 180 429, then fourth digit < 2 0 1 × 6 = 6 4292, then fifth digit < 3 0, 2 2 - Add them up. Numbers before 42923: 2592 + 216 + 180 + 6 + 2 = 2996.
- So. 42923 comes right after these 2996 numbers, so its serial number is 2996 + 1 = 2997.
The common slip: 4293. Letting 0 sit in the first place counts 3 × 6⁴ = 3888 instead of 2592 and gives 4293. A 5 digit number cannot start with 0.
The idea to keep. For rank questions, count everything that comes before the number, one place at a time, then add 1. The first place cannot be 0, and with repetition every later place is free.
Answer from the NTA final answer key. Solution by PrepWiser.