thanks, I got the answer to be 1998 and I believe that it is correct :)
I initially used 1 to a million for both end points, on 1/sqrt ( x ) and 1 / sqrt ( x - 1 ) integrals, but then I couldn't integrate 1 / sqrt ( x - 1 ) with that end point, so I started from 2 instead of 1. 1/ sqrt ( 1 ) = 1 which is an integer anyway, so I could exclude that from my approximation.
Then I got
2sqrt(million ) - 2*sqrt ( 2 ) < original sum < 2*sqrt( million -1 ) - 2. Then showed that the difference between both bounds is < 1 but > 0 , which means they are closer than adjacent integers ( which means if the original sum is in between that, I will indeed get the integer part by finding the integer part of either bound ). Well, I found the integer part of either bound and added the 1 back in of course
I had to use a calculator though :S, to calculate 2*sqrt( 1 000 000 - 1 ) - 2 , is that still fair game?