login
Continued fraction for sqrt(112).
1

%I #41 Dec 23 2023 14:23:59

%S 10,1,1,2,1,1,20,1,1,2,1,1,20,1,1,2,1,1,20,1,1,2,1,1,20,1,1,2,1,1,20,

%T 1,1,2,1,1,20,1,1,2,1,1,20,1,1,2,1,1,20,1,1,2,1,1,20,1,1,2,1,1,20,1,1,

%U 2,1,1,20,1,1,2,1,1,20,1,1

%N Continued fraction for sqrt(112).

%H Vincenzo Librandi, <a href="/A010177/b010177.txt">Table of n, a(n) for n = 0..1000</a>

%H G. Xiao, <a href="http://wims.unice.fr/~wims/en_tool~number~contfrac.en.html">Contfrac</a>

%H <a href="/index/Con#confC">Index entries for continued fractions for constants</a>

%H <a href="/index/Rec#order_06">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,1).

%F G.f.: (10 + x + x^2 + 2*x^3 + x^4 + x^5 + 10*x^6)/(1-x^6). - _Vincenzo Librandi_, Jun 13 2013

%F a(n) = a(n-6), n >= 7. - _Vincenzo Librandi_, Jun 14 2013

%t ContinuedFraction[Sqrt[112], 300] (* _Vladimir Joseph Stephan Orlovsky_, Mar 11 2011 *)

%t CoefficientList[Series[(10 + x + x^2 + 2 x^3 + x^4 + x^5 + 10 x^6) / (1 - x^6), {x, 0, 100}], x] (* _Vincenzo Librandi_, Jun 13 2013 *)

%o (Magma) I:=[10, 1, 1, 2, 1, 1, 20]; [n le 7 select I[n] else Self(n-6): n in [1..80]]; // _Vincenzo Librandi_, Jun 14 2013

%K nonn,easy,cofr

%O 0,1

%A _N. J. A. Sloane_