QlarIITy

MathematicsJEE Main 2023 · 11 AprilSingle correct

If the letters of the word MATHS are permuted and all possible words so formed are arranged as in a dictionary with serial numbers, then the serial number of the word THAMS is

  1. Option A: 103
  2. Option B: 102
  3. Option C: 101
  4. Option D: 104
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. The rank of a word is one more than the number of words before it.

Concept refresher. In dictionary order, the words that begin with a smaller letter come first. With nn different letters left to arrange, each choice of the next letter starts a block of

B=(n−1)!B = (n - 1)!

words.

Picture the situation. In alphabetical order the letters are A, H, M, S, T. A dictionary lists first every word that starts with a smaller letter than the given word, then, among words with the same first letter, those with a smaller second letter, and so on. So the words before THAMS are counted one letter at a time.

Approach. Count the words that come before the given word, letter by letter, and add one.

  1. Step 1: Before the first letter

    In alphabetical order the letters are A, H, M, S, T. The four letters before T each start 4!=244! = 24 words, giving 96.

  2. Step 2: The later letters

    After T, only A is smaller than H: 1×3!=61 \times 3! = 6 words. After TH the next letter A is the smallest left, and after THA the letter M is smaller than S, so nothing more is added.

  3. Step 3: The rank

    So 96+6=10296 + 6 = 102 words come before THAMS, and its serial number is 103.

Answer. (A) 103

Sanity check. The words starting with TA run TAHMS, TAHSM, TAMHS, TAMSH, TASHM, TASMH, from 97 to 102, and THAMS is the very next word.

Why the other options are wrong

  • (B) The value 102 is the number of words before THAMS; the word itself has the next number.
  • (C) The rank 101 belongs to TASHM, in the block of words starting with TA.
  • (D) The rank 104 belongs to THASM, the word after THAMS.

Key takeaway

The trap. The word itself is not among the words counted before it.

How toppers think. They write the letters in alphabetical order before counting anything.

Remember. Rank: words before, plus one.

More on Permutations