Analyzing the Setup
To find the 440th word in the dictionary of permutations of the word KANPUR, we first identify the unique letters involved: K, A, N, P, U, R.
Sorting these letters alphabetically provides our roadmap: A, K, N, P, R, U. There are 6 distinct letters, meaning there are 6!=720 total permutations.
The Macro Search
We calculate the number of words starting with each letter to narrow down the position of the 440th word.
Words starting with A: 5!=120 words. (Cumulative: 120)
Words starting with K: 5!=120 words. (Cumulative: 240)
Words starting with N: 5!=120 words. (Cumulative: 360)
Since 360<440, we proceed to the next letter. Words starting with P will contain our target word, as the cumulative count would reach 480.
Narrowing the Focus
We now fix the first letter as P and determine the second letter using the remaining set: {A, K, N, R, U}.
Words starting with PA: 4!=24 words. (Cumulative: 360+24=384)
Words starting with PK: 4!=24 words. (Cumulative: 384+24=408)
Words starting with PN: 4!=24 words. (Cumulative: 408+24=432)
If we included words starting with PR, the total would reach 456. Because 432<440<456, our target word must start with PR.
The Final Stretch
With the prefix PR fixed, we determine the third letter using the remaining set: {A, K, N, U}.
Words starting with PRA: 3!=6 words. (Cumulative: 432+6=438)
Words starting with PRK: 3!=6 words. (Cumulative: 438+6=444)
Since 444>440, our target word must start with PRK.
The 439th word is the first permutation starting with PRK, which is PRKANU (arranging the remaining letters A, N, U in alphabetical order).
The 440th word is the next permutation after PRKANU. By swapping the last two letters, we obtain PRKAUN.
The 440th word is PRKAUN.