JEE Main 2026 · 24 January · evening · Single correct · +4 / −1
The letters of the word "UDAYPUR" are written in all possible ways with or without meaning and these words are arranged as in a dictionary. The rank of the word "UDAYPUR" is
- (a) 1579
- (b) 1578
- (c) 1580
- (d) 1581
Answer and solution
Answer (c) 1580
Solution
Maths sir · 3 steps
Go letter by letter and count every word that starts with a smaller unused letter, then add 1.
- Sort the letters. In dictionary order the letters are A, D, P, R, U, U, Y. U appears twice, so any count that still has both U's left must be divided by 2!.
- Method. At each position, list the unused letters that come before the letter in UDAYPUR. For each one, count the arrangements of the letters still left. All those words come before UDAYPUR.
Position Letter in UDAYPUR Smaller unused letters Words before 1 U A, D, P, R 4 × 6!/2! = 1440 2 D A 1 × 5! = 120 3 A none 0 4 Y P, R, U 3 × 3! = 18 5 P none 0 6 U R 1 × 1! = 1 7 R none 0 1440 + 120 + 0 + 18 + 0 + 1 + 0 = 1579
- So. 1579 words come before UDAYPUR, so its rank is 1579 + 1 = 1580, option (c).
The idea to keep. Rank equals the number of words before it plus 1. Divide by the factorial of a repeated letter only while both copies are still unused.
Answer from the NTA final answer key. Solution by PrepWiser.