For a positive integer b > 2, let S_b = 1_b + 2_b + ... + 100_b.
Find the number of different values of b such that the sum of the digits of S_b (read in base b) is at most 512.