%I #21 Sep 05 2021 07:52:42
%S 9,5,9,1,6,6,3,0,4,6,6,2,5,4,3,9,0,8,3,1,9,4,8,7,6,1,2,8,3,2,5,3,8,7,
%T 8,3,9,9,9,3,4,1,4,0,8,3,8,0,8,2,5,8,6,9,2,9,7,0,6,1,8,2,2,8,8,9,6,5,
%U 1,4,4,7,1,8,1,4,9,2,8,1,6,4,9,8,4,3,8,2,8,9,2,8,7,3,8,3,7,7,2
%N Decimal expansion of square root of 92.
%C Continued fraction expansion is 9 followed by {1, 1, 2, 4, 2, 1, 1, 18} repeated. - _Harry J. Smith_, Jun 11 2009
%H Harry J. Smith, <a href="/A010543/b010543.txt">Table of n, a(n) for n = 1..20000</a>
%F Equals 2 * A010479.
%e 9.5916630466254390831948761283253878399934... - _Harry J. Smith_, Jun 11 2009
%t RealDigits[N[Sqrt[92],200]][[1]] (* _Vladimir Joseph Stephan Orlovsky_, Feb 04 2012 *)
%o (PARI) { default(realprecision, 20080); x=sqrt(92); for (n=1, 20000, d=floor(x); x=(x-d)*10; write("b010543.txt", n, " ", d)); } \\ _Harry J. Smith_, Jun 11 2009
%o (Python)
%o from math import isqrt
%o def aupton(nn): return list(map(int, str(isqrt(92 * 10**(2*nn)))))[:nn]
%o print(aupton(100)) # _Michael S. Branicky_, Sep 05 2021
%Y Cf. A010163 (continued fraction). - _Harry J. Smith_, Jun 11 2009
%Y Cf. A010479.
%K nonn,cons
%O 1,1
%A _N. J. A. Sloane_
|