login
A011549
a(n) = floor(sqrt(3)*10^n).
2
1, 17, 173, 1732, 17320, 173205, 1732050, 17320508, 173205080, 1732050807, 17320508075, 173205080756, 1732050807568, 17320508075688, 173205080756887, 1732050807568877, 17320508075688772, 173205080756887729, 1732050807568877293, 17320508075688772935
OFFSET
0,2
COMMENTS
Old name: Decimal expansion of sqrt(3) truncated to n places.
LINKS
MATHEMATICA
With[{sqrt3 = RealDigits[Sqrt[3], 10, 50][[1]]}, Table[FromDigits[Take[ sqrt3, n]], {n, 20}]] (* Harvey P. Dale, Nov 04 2011 *)
IntegerPart[Table[N[Sqrt[3], k]*10^(k - 1), {k, 17}]] (* Jayanta Basu, Aug 15 2013 *)
PROG
(Python)
from sympy import N, sqrt
def a(n): return int(N(sqrt(3), n+1)*10**n)
print([a(n) for n in range(20)]) # Michael S. Branicky, Jan 17 2021
CROSSREFS
Cf. A002194 (sqrt(3)).
Sequence in context: A166579 A142169 A142515 * A048555 A299331 A173647
KEYWORD
nonn,base
EXTENSIONS
New name from Jon E. Schoenfield, Aug 19 2023
STATUS
approved