Let be the sequence of real numbers defined by , , , , and in general, where the base has digits. Rearranging the numbers in the sequence in decreasing order produces a new sequence . What is the sum of all integers , such that ?
501
751
1001
1501
1502