login
Decimal expansion of square root of 97.
6

%I #13 Dec 20 2015 03:36:05

%S 9,8,4,8,8,5,7,8,0,1,7,9,6,1,0,4,7,2,1,7,4,6,2,1,1,4,1,4,9,1,7,6,2,4,

%T 4,8,1,6,9,6,1,3,6,2,8,7,4,4,2,7,6,4,1,7,1,7,2,3,1,5,4,5,2,9,8,3,6,4,

%U 4,0,5,8,3,7,0,7,6,7,8,6,3,0,0,9,3,2,0,0,7,8,4,1,1,5,4,2,5,7,6

%N Decimal expansion of square root of 97.

%C Continued fraction expansion is 9 followed by {1, 5, 1, 1, 1, 1, 1, 1, 5, 1, 18} repeated. - _Harry J. Smith_, Jun 12 2009

%H Harry J. Smith, <a href="/A010548/b010548.txt">Table of n, a(n) for n = 1..20000</a>

%e 9.848857801796104721746211414917624481696136287442764171723154529836440... - _Harry J. Smith_, Jun 12 2009

%t RealDigits[N[97^(1/2),200]][[1]] (* _Vladimir Joseph Stephan Orlovsky_, Jan 24 2012 *)

%o (PARI) { default(realprecision, 20080); x=sqrt(97); for (n=1, 20000, d=floor(x); x=(x-d)*10; write("b010548.txt", n, " ", d)); } \\ _Harry J. Smith_, Jun 12 2009

%Y Cf. A010168 Continued fraction. - _Harry J. Smith_, Jun 12 2009

%K nonn,cons

%O 1,1

%A _N. J. A. Sloane_