%I #16 Sep 04 2021 08:25:28
%S 9,4,3,3,9,8,1,1,3,2,0,5,6,6,0,3,8,1,1,3,2,0,6,6,0,3,7,7,6,2,2,6,4,0,
%T 7,1,6,9,8,3,6,2,2,6,3,3,4,1,5,1,2,1,3,2,0,6,6,2,9,8,1,4,4,8,9,8,0,0,
%U 2,2,9,0,9,5,8,5,1,1,8,0,5,8,5,4,1,0,2,6,9,8,6,8,9,0,3,8,4,1,0
%N Decimal expansion of square root of 89.
%C Continued fraction expansion is 9 followed by {2, 3, 3, 2, 18} repeated. - _Harry J. Smith_, Jun 10 2009
%H Harry J. Smith, <a href="/A010540/b010540.txt">Table of n, a(n) for n = 1..20000</a>
%e 9.433981132056603811320660377622640716983622633415121320662981448980022... - _Harry J. Smith_, Jun 10 2009
%t RealDigits[Sqrt[89],10,120][[1]] (* _Harvey P. Dale_, Nov 20 2011 *)
%o (PARI) { default(realprecision, 20080); x=sqrt(89); for (n=1, 20000, d=floor(x); x=(x-d)*10; write("b010540.txt", n, " ", d)); } \\ _Harry J. Smith_, Jun 10 2009
%o (Python)
%o from math import isqrt
%o def aupton(nn): return list(map(int, str(isqrt(89 * 10**(2*nn)))))[:nn]
%o print(aupton(100)) # _Michael S. Branicky_, Sep 04 2021
%Y Cf. A010161 (continued fraction). - _Harry J. Smith_, Jun 10 2009
%K nonn,cons
%O 1,1
%A _N. J. A. Sloane_