To enumerate all the permutations of the n objects not necessarily distinct and display the output based upon the verbose mode entered.