|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|