(might be good if he posted what he did so I can know what not to repeat)
Consider the case 3000-3999. Any number fitting the scheme above will be expressed as (3)(0, 1, 2, 4, 5, 6, 7, 8, 9)(0, 2, 4, 5, 6, 7, 8, 9)(7, 9) where I assumed 1 was the hundreds digit and 5 was the tens digit (so 1 was deleted from the selection of possible tens digits and 1 and 5 were deleted from the selection of unit and tens). Multiply the number above by 2 for the assumptions made about the units digit and by 1 for the assumptions made about the units digit to get the answer for that range 3000-3999. This should be the same answer for 5000-5999 (I get 288), and a similar method can be used to find the case for 4000-4999.
In case you're wondering about the pretty arbitrary way I wrote that, multiply the number of numbers inside each parenthesis to get the total number of permutations, and then multiply again by the number of choices I said I deleted for the units and tens digits.
I hope this made sense: I'm a little stumped how to explain it. Edit: I get a solution that's about 200 lower than what you listed.