How many zeroes do we write when we write all the integers from 1 to 625 in base 4?
The answer is 582