cp's OEIS Frontend

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.

A011549 a(n) = floor(sqrt(3)*10^n).

This page as a plain text file.
%I A011549 #33 Aug 22 2023 11:57:41
%S A011549 1,17,173,1732,17320,173205,1732050,17320508,173205080,1732050807,
%T A011549 17320508075,173205080756,1732050807568,17320508075688,
%U A011549 173205080756887,1732050807568877,17320508075688772,173205080756887729,1732050807568877293,17320508075688772935
%N A011549 a(n) = floor(sqrt(3)*10^n).
%C A011549 Old name: Decimal expansion of sqrt(3) truncated to n places.
%H A011549 Vincenzo Librandi, <a href="/A011549/b011549.txt">Table of n, a(n) for n = 0..200</a>
%t A011549 With[{sqrt3 = RealDigits[Sqrt[3], 10, 50][[1]]}, Table[FromDigits[Take[ sqrt3, n]], {n, 20}]] (* _Harvey P. Dale_, Nov 04 2011 *)
%t A011549 IntegerPart[Table[N[Sqrt[3], k]*10^(k - 1), {k, 17}]] (* _Jayanta Basu_, Aug 15 2013 *)
%o A011549 (Python)
%o A011549 from sympy import N, sqrt
%o A011549 def a(n): return int(N(sqrt(3), n+1)*10**n)
%o A011549 print([a(n) for n in range(20)]) # _Michael S. Branicky_, Jan 17 2021
%Y A011549 Cf. A002194 (sqrt(3)).
%K A011549 nonn,base
%O A011549 0,2
%A A011549 _N. J. A. Sloane_
%E A011549 New name from _Jon E. Schoenfield_, Aug 19 2023