JEE Main 2021 · 1 September · evening · Numerical answer · +4 / −0

All the arrangements, with or without meaning, of the word FARMER are written excluding any word that has two R appearing together. The arrangements are listed serially in the alphabetic order as in the English dictionary. Then the serial number of the word FARMER in this list is ___________.

Answer and solution

Answer 77

Solution

Maths sir · 4 steps

Count the words before FARMER block by block, throwing out the RR-together ones in every block.

  1. Set the order. The letters are A, E, F, M, R, R, and in dictionary order A < E < F < M < R. In each block, count all arrangements and subtract those with the two R together, which you get by gluing RR into one unit.
  2. A or E first. Fixing A leaves E, F, M, R, R, which give 5!/2! = 60 arrangements, of which 4! = 24 have RR together, so 36 are valid. Starting with E also gives 36, so these two blocks give 72 words.
    Starts withLetters leftAll arrangementsRR togetherValid
    AE, F, M, R, R602436
    EA, F, M, R, R602436
    FAEM, R, R321 (FAERMR)
    FAME, R, R321 (FAMRER)
    FAREM, R202 (FAREMR, FARERM)
    FARME, R20FARMER is the first of these
  3. Words starting with F. The second letter A matches FARMER, and for the third letter, E and M come before R, giving 1 valid word each. After FAR the fourth letter cannot be R, and E comes before M, so FARE gives 2 valid words. In the FARM block, FARMER comes first because E < R.
  4. So. There are 72 + 1 + 1 + 2 = 76 words before FARMER, so its serial number is 77.

The common slip: 129. Ignoring the RR restriction gives 60 + 60 + 3 + 3 + 2 = 128 words before FARMER, so a rank of 129 instead of 77.

The idea to keep. In a rank question with a restriction, apply the restriction inside every block you count. Take all arrangements, subtract the forbidden ones by gluing them into one unit, then move to the next letter.

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 2021.