Words near nth in the dictionary