login
A010177
Continued fraction for sqrt(112).
1
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, 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, 2, 1, 1, 20, 1, 1, 2, 1, 1, 20, 1, 1
OFFSET
0,1
FORMULA
G.f.: (10 + x + x^2 + 2*x^3 + x^4 + x^5 + 10*x^6)/(1-x^6). - Vincenzo Librandi, Jun 13 2013
a(n) = a(n-6), n >= 7. - Vincenzo Librandi, Jun 14 2013
MATHEMATICA
ContinuedFraction[Sqrt[112], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 11 2011 *)
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 *)
PROG
(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
CROSSREFS
Sequence in context: A070596 A306363 A347119 * A096089 A010176 A347161
KEYWORD
nonn,easy,cofr
STATUS
approved