login
A042701
Denominators of continued fraction convergents to sqrt(880).
2
1, 1, 2, 3, 176, 179, 355, 534, 31327, 31861, 63188, 95049, 5576030, 5671079, 11247109, 16918188, 992502013, 1009420201, 2001922214, 3011342415, 176659782284, 179671124699, 356330906983, 536002031682, 31444448744539, 31980450776221, 63424899520760
OFFSET
0,3
FORMULA
G.f.: -(x^2-x-1)*(x^4+3*x^2+1) / (x^8-178*x^4+1). - Colin Barker, Dec 21 2013
a(n) = 178*a(n-4) - a(n-8) for n>7. - Vincenzo Librandi, Dec 21 2013
MATHEMATICA
Denominator[Convergents[Sqrt[880], 30]] (* Vincenzo Librandi Dec 21 2013 *)
LinearRecurrence[{0, 0, 0, 178, 0, 0, 0, -1}, {1, 1, 2, 3, 176, 179, 355, 534}, 30] (* Harvey P. Dale, Dec 09 2018 *)
PROG
(Magma) I:=[1, 1, 2, 3, 176, 179, 355, 534]; [n le 8 select I[n] else 178*Self(n-4)-Self(n-8): n in [1..70]]; // Vincenzo Librandi, Dec 21 2013
CROSSREFS
Sequence in context: A042369 A371273 A328257 * A371232 A246488 A106715
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Dec 21 2013
STATUS
approved