This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A027662 #18 Jul 30 2022 12:23:55 %S A027662 1000,1414,1732,2000,2236,2449,2646,2828,3000,3162,3317,3464,3606, %T A027662 3742,3873,4000,4123,4243,4359,4472,4583,4690,4796,4899,5000,5099, %U A027662 5196,5292,5385,5477,5568,5657,5745,5831,5916,6000,6083,6164,6245,6325,6403,6481,6557,6633 %N A027662 a(n)/1000 gives sqrt(n) to 3 places after the decimal point. %p A027662 lprint(round(evalf(1000*sqrt(n)))); %t A027662 Table[Floor[1000*Sqrt[n]+1/2],{n,40}] (* _Harvey P. Dale_, Apr 22 2011 *) %o A027662 (Python) %o A027662 from math import isqrt %o A027662 def A027662(n): return (m:=isqrt(k:=n*10**6))+int((k-m*(m+1)<<2)>=1) # _Chai Wah Wu_, Jul 30 2022 %Y A027662 Cf. A027661, A027663, A027664. %K A027662 nonn,base %O A027662 1,1 %A A027662 _N. J. A. Sloane_