The remainder when a base-16 number is divided by d is always the same as the remainder when the sum of the digits of the base-16 number is divided by d. What is the sum of all possible positive integer values of d? (d is base 10.) The answer should be base 10.