%I #24 Aug 21 2023 12:33:14
%S 5,5,6,7,7,6,4,3,6,2,8,3,0,0,2,1,9,2,2,1,1,9,4,7,1,2,9,8,9,1,8,5,4,9,
%T 5,2,0,4,7,6,3,9,3,3,7,7,5,7,0,4,1,4,3,0,3,9,6,8,4,3,2,5,8,5,6,0,3,5,
%U 8,9,8,3,9,2,5,4,2,3,6,2,9,2,9,2,7,2,1,8,3,9,6,1,8,4,9,2,6,6,7
%N Decimal expansion of square root of 31.
%C Continued fraction expansion is 5 followed by {1, 1, 3, 5, 3, 1, 1, 10} repeated. - _Harry J. Smith_, Jun 04 2009
%H Harry J. Smith, <a href="/A010486/b010486.txt">Table of n, a(n) for n = 1..20000</a>
%H <a href="/index/Al#algebraic_02">Index entries for algebraic numbers, degree 2</a>
%e 5.567764362830021922119471298918549520476393377570414303968432585603589....
%t RealDigits[N[Sqrt[31], 100]][[1]] (* _Vladimir Joseph Stephan Orlovsky_, Feb 22 2011 *)
%o (PARI) default(realprecision, 20080); x=sqrt(31); for (n=1, 20000, d=floor(x); x=(x-d)*10; write("b010486.txt", n, " ", d)); \\ _Harry J. Smith_, Jun 04 2009
%Y Cf. A010129 (continued fraction). - _Harry J. Smith_, Jun 04 2009
%K nonn,cons,easy
%O 1,1
%A _N. J. A. Sloane_