OFFSET
0,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
G. Xiao, Contfrac
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,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
KEYWORD
nonn,easy,cofr
AUTHOR
STATUS
approved