finnd number of distinct integer terms in series floor(i^2/2005) from i=1 to 2005