Five digit numbers are formed using the digits 1, 2, 3, 5, 7 with repetitions and are written in descending order with serial numbers. For example, the number 77777 has serial number 1. Then the serial number of 35337 is
Five-digit numbers formed using digits with repetitions are arranged in descending order, and we wish to find the position of 35337 in this list. Since the available digits in decreasing order are , we first count how many numbers exceed 35337.
Numbers starting with 7 or 5 (first digit ): since there are 2 choices for the first digit and each of the remaining four digits can be any of the five available, we have such numbers.
Next, numbers with first digit 3 and second digit (i.e., 7) give .
Then, numbers with first two digits 35 and third digit (i.e., 5 or 7) yield .
Subsequently, numbers with first three digits 353 and fourth digit (i.e., 5 or 7) yield .
Furthermore, numbers with first four digits 3533 and fifth digit contribute 0 since no digit exceeds 7.
From the above, therefore the serial number of 35337 is given by adding these counts plus 1 for the number itself:
.
Hence, the serial number of 35337 is 1436.
Tagged Permutations of letters and words, rank in dictionary. Machine-assigned, so read it as a strong shortlist rather than a verdict.