there must be 1000/pi = 318 places where tanx = n for any value of n Hmmm. Better check to see whether the 319th interval also fits. I think not.
You can ask a new question or answer this question.