Analyzing the Alphabetical Foundation
To determine the rank of the word MONDAY in a dictionary, we first identify the unique letters present in the word: A,D,M,N,O,Y.
Arranging these in alphabetical order, we get the sequence: A,D,M,N,O,Y. Since there are 6 distinct letters, the total number of permutations is 6!=720.
The 'Fix and Permute' Strategy
We systematically count all words that appear before MONDAY by fixing letters in each position and calculating the permutations of the remaining letters.
For the first position, we consider letters that precede M in the alphabet, which are A and D:
Words starting with A: 5!=120 words.
Words starting with D: 5!=120 words.
Total words accounted for so far: 120+120=240.
Drilling Down into MONDAY
Now, we fix M in the first position and move to the second slot. We look for letters that precede O in the remaining set {A,D,N,O,Y}, which are A,D, and N:
Words starting with MA: 4!=24 words.
Words starting with MD: 4!=24 words.
* Words starting with MN: 4!=24 words.
Total words accounted for: 240+(3×24)=240+72=312.
Next, we fix O in the second position, giving us the prefix MO. We look for letters in the third position that precede N from the remaining set {A,D,N,Y}, which are A and D:
Words starting with MOA: 3!=6 words.
Words starting with MOD: 3!=6 words.
Total words accounted for: 312+12=324.
The Final Stretch
We fix N in the third position, giving us the prefix MON. We look for letters in the fourth position that precede D from the remaining set {A,D,Y}, which is only A:
* Words starting with MONA: 2!=2 words.
Total words accounted for: 324+2=326.
The next word in the lexicographical sequence is MONDAY itself. Therefore, we add 1 to our count to include the target word.
The Grand Total
Summing all the counts calculated above:
120+120+24+24+24+6+6+2+1=327
The rank of the word MONDAY is 327.