OFFSET
0,2
COMMENTS
Old name: Decimal expansion of sqrt(3) truncated to n places.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
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
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
New name from Jon E. Schoenfield, Aug 19 2023
STATUS
approved