sum 1/sqrt(n) from 10^4 to 10^6