The letters of the word 'MANKIND' are written in all possible orders and arranged in serial order as in an English dictionary. Then the serial number of the word 'MANKIND' is _____ .
Solution
Core idea. The rank of a word is one more than the number of words before it.
Concept refresher. With repeated letters a block is smaller: if letters remain of which two are alike, each different choice of the next letter starts a block of the arrangements of the other letters,
when both alike letters are still among them.
Picture the situation. In alphabetical order the letters are A, D, I, K, M, N, N. 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 MANKIND are counted one letter at a time.
Approach. Count the words that come before the given word, letter by letter, and add one.
Step 1: Before the first letter
In alphabetical order the letters are A, D, I, K, M, N, N. Each of A, D, I, K as first letter leaves six letters with two Ns, giving words each, 1440 in all.
Step 2: The later letters
After M, nothing is smaller than A. After MA, the letters D, I, K are smaller than N, each leaving four letters with two Ns: . After MAN, D and I are smaller than K: . After MANK, D is smaller than I: . After MANKI, D is smaller than N: 1.
Step 3: The rank
So words come before MANKIND, and its serial number is 1492.
Answer. 1492
Sanity check. There are words in all. The words starting with MA number and run from 1441 to 1500, so MANKIND lies in that range.
Common wrong answers
- 1491: The value 1491 is the number of words before MANKIND; the word itself is one further on.
- 2968: Ignoring the repeated N makes the blocks and and gives 2968.
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
- The number of 4 -letter words, with or without meaning, each consisting of two vowels and two consonants…
- The number of ways, of forming a queue of 4 boys and 3 girls such that all the girls are not together, is:
- Three persons enter in a lift at the ground floor. The lift will go up to 10^th floor. The number of ways…
- All 55 on Permutations ›