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!)
A011548 Decimal expansion of sqrt(2) rounded to n places. 2
1, 14, 141, 1414, 14142, 141421, 1414214, 14142136, 141421356, 1414213562, 14142135624, 141421356237, 1414213562373, 14142135623731, 141421356237310, 1414213562373095, 14142135623730950, 141421356237309505, 1414213562373095049, 14142135623730950488 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
REFERENCES
W. Rudin, Principles of Mathematical Analysis, 3rd ed., McGraw-Hill, 1976.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..995 (terms 0..200 from Vincenzo Librandi)
MATHEMATICA
Round[Table[N[Sqrt[2], k] 10^(k - 1), {k, 20}]] (* Vincenzo Librandi, Aug 17 2013 *)
Module[{nn=20, s}, s=RealDigits[Sqrt[2], 10, nn+1][[1]]; Table[Round[ FromDigits[ Take[ s, n+1]]/10], {n, nn}]] (* Harvey P. Dale, Apr 04 2019 *)
PROG
(Python)
from math import isqrt
def A011548(n): return (m:=isqrt(k:=10**(n<<1)<<1))+int((k-m*(m+1)<<2)>=1) # Chai Wah Wu, Jul 29 2022
CROSSREFS
Cf. A011547.
Sequence in context: A306558 A131583 A011547 * A039916 A241217 A159500
KEYWORD
nonn,base,easy
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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)