MCQMediumJEE 2023Applications of P&C

JEE Mathematics 2023 Question with Solution

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:

  • A

    580580

  • B

    578578

  • C

    576576

  • D

    582582

Answer

Correct answer:D

Step-by-step solution

Standard Method

Given: All distinct letters of the word PUBLIC are arranged in dictionary order.

Find: The serial number of the word PUBLIC.

Arrange the letters alphabetically: B,C,I,L,P,UB, C, I, L, P, U.

Count the words that come before PUBLIC.

Words beginning with letters smaller than PP are:

B_____=5!=120B\_\_\_\_\_ = 5! = 120 C_____=5!=120C\_\_\_\_\_ = 5! = 120 I_____=5!=120I\_\_\_\_\_ = 5! = 120 L_____=5!=120L\_\_\_\_\_ = 5! = 120

So, total before words starting with PP is

120+120+120+120=480120 + 120 + 120 + 120 = 480

Now fix the first letter as PP. Remaining letters are B,C,I,L,UB, C, I, L, U.

For the second letter of PUBLIC, we need UU. Smaller available letters are B,C,I,LB, C, I, L.

Hence,

PB____=4!=24PB\_\_\_\_ = 4! = 24 PC____=4!=24PC\_\_\_\_ = 4! = 24 PI____=4!=24PI\_\_\_\_ = 4! = 24 PL____=4!=24PL\_\_\_\_ = 4! = 24

So, total before words starting with PUPU is

24+24+24+24=9624 + 24 + 24 + 24 = 96

Now fix PUPU. Remaining letters are B,C,I,LB, C, I, L.

For the third letter of PUBLIC, we need BB. Since BB is the smallest among the remaining letters, no word comes before PUB... at this step.

Now fix PUBPUB. Remaining letters are C,I,LC, I, L.

For the fourth letter of PUBLIC, we need LL. Smaller available letters are CC and II.

Therefore,

PUBC__=2!=2PUBC\_\_ = 2! = 2 PUBI__=2!=2PUBI\_\_ = 2! = 2

So, total before words starting with PUBLPUBL is

2+2=42 + 2 = 4

Now fix PUBLPUBL. Remaining letters are I,CI, C.

For the fifth letter of PUBLIC, we need II. Smaller available letter is CC.

Hence,

PUBLIC____PUBLIC\_\_\_\_

is preceded by

PUBLCI=1PUBLCI = 1

word.

Therefore, the rank of PUBLIC is

480+96+4+1+1=582480 + 96 + 4 + 1 + 1 = 582

The correct option is D.

Common mistakes

  • Counting all permutations correctly but forgetting to add 11 for the word PUBLIC itself. Rank means the position in the ordered list, so after counting all words before it, add 11.

  • Using the letters in the given word order instead of alphabetical dictionary order. Lexicographic rank must be computed using the alphabetical order B,C,I,L,P,UB, C, I, L, P, U.

  • At the fourth letter, missing both smaller choices before LL after fixing PUBPUB. The available letters are C,I,LC, I, L, so both PUBC__PUBC\_\_ and PUBI__PUBI\_\_ must be counted.

Practice more Applications of P&C questions

Get unlimited AI-adaptive practice, mastery tracking, and an AI tutor that explains every step — free to start.

Related questions