A041057 Denominators of continued fraction convergents to sqrt(34).
1, 1, 5, 6, 65, 71, 349, 420, 4549, 4969, 24425, 29394, 318365, 347759, 1709401, 2057160, 22281001, 24338161, 119633645, 143971806, 1559351705, 1703323511, 8372645749, 10075969260, 109132338349
Offset: 0
Links
- Vincenzo Librandi, Table of n, a(n) for n = 0..200
- Index entries for linear recurrences with constant coefficients, signature (0,0,0,70,0,0,0,-1).
Programs
-
Mathematica
Table[Denominator[FromContinuedFraction[ContinuedFraction[Sqrt[34], n]]], {n, 1, 50}] (* Vladimir Joseph Stephan Orlovsky, Mar 18 2011*) Denominator[Convergents[Sqrt[34], 30]] (* Vincenzo Librandi, Oct 23 2013 *)
Formula
a(n) = 70*a(n-4)-a(n-8). G.f.: -(x^2-x-1)*(x^4+6*x^2+1)/(x^8-70*x^4+1). [Colin Barker, Jul 16 2012]