The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A027662 a(n)/1000 gives sqrt(n) to 3 places after the decimal point. 2
1000, 1414, 1732, 2000, 2236, 2449, 2646, 2828, 3000, 3162, 3317, 3464, 3606, 3742, 3873, 4000, 4123, 4243, 4359, 4472, 4583, 4690, 4796, 4899, 5000, 5099, 5196, 5292, 5385, 5477, 5568, 5657, 5745, 5831, 5916, 6000, 6083, 6164, 6245, 6325, 6403, 6481, 6557, 6633 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MAPLE
lprint(round(evalf(1000*sqrt(n))));
MATHEMATICA
Table[Floor[1000*Sqrt[n]+1/2], {n, 40}] (* Harvey P. Dale, Apr 22 2011 *)
PROG
(Python)
from math import isqrt
def A027662(n): return (m:=isqrt(k:=n*10**6))+int((k-m*(m+1)<<2)>=1) # Chai Wah Wu, Jul 30 2022
CROSSREFS
Sequence in context: A105276 A145517 A342975 * A004265 A004266 A004267
KEYWORD
nonn,base
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 4 14:25 EDT 2024. Contains 373099 sequences. (Running on oeis4.)