JEE Main 2023 · 6 April · evening · Single correct · +4 / −1

All the letters of the word PUBLIC are written in all possible orders and these words are written as in a dictionary with serial numbers. Then the serial number of the word PUBLIC is :

  1. (a) 578
  2. (b) 576
  3. (c) 580
  4. (d) 582
Answer and solution

Answer (d) 582

Solution

Maths sir · 3 steps

Go letter by letter and count every word that would sit before PUBLIC in the dictionary.

  1. Alphabetical order. The six letters are all different. In dictionary order they are B, C, I, L, P, U.
  2. Counting rule. At each position, see how many unused letters are smaller than the letter PUBLIC actually has there. Each of them can start a block of earlier words, and each block has (letters left after it)! words.
    PositionLetter in PUBLICUnused smaller lettersWords placed before
    1stPB, C, I, L (4)4 × 5! = 480
    2ndUB, C, I, L (4)4 × 4! = 96
    3rdBnone0 × 3! = 0
    4thLC, I (2)2 × 2! = 4
    5thIC (1)1 × 1! = 1
    6thCnone0

    480 + 96 + 0 + 4 + 1 + 0 = 581

  3. So. Exactly 581 words come before PUBLIC, so PUBLIC itself is word number 581 + 1 = 582, option (d).

The idea to keep. For the rank of a word, count all the words that come before it, one position at a time, then add 1 for the word itself. Once a letter is used, never count it again.

Answer from the NTA final answer key. Solution by PrepWiser.

Study Permutations & Combinations

Asked about 160 times in JEE Main since 2020. This question is from 2023.