login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A041641
Denominators of continued fraction convergents to sqrt(339).
2
1, 2, 5, 12, 17, 301, 318, 937, 2192, 5321, 193748, 392817, 979382, 2351581, 3330963, 58977952, 62308915, 183595782, 429500479, 1042596740, 37962983119, 76968562978, 191900109075, 460768781128, 652668890203, 11556139914579, 12208808804782
OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,0,0,0,0,195940,0,0,0,0,0,0,0,0,0,-1).
FORMULA
G.f.: -(x^18 -2*x^17 +5*x^16 -12*x^15 +17*x^14 -301*x^13 +318*x^12 -937*x^11 +2192*x^10 -5321*x^9 -2192*x^8 -937*x^7 -318*x^6 -301*x^5 -17*x^4 -12*x^3 -5*x^2 -2*x -1) / (x^20 -195940*x^10 +1). - Colin Barker, Nov 20 2013
a(n) = 195940*a(n-10) - a(n-20) for n>19. - Vincenzo Librandi, Dec 22 2013
MATHEMATICA
Denominator[Convergents[Sqrt[339], 30]] (* Vincenzo Librandi, Dec 22 2013 *)
PROG
(Magma) I:=[1, 2, 5, 12, 17, 301, 318, 937, 2192, 5321, 193748, 392817, 979382, 2351581, 3330963, 58977952, 62308915, 183595782, 429500479, 1042596740]; [n le 20 select I[n] else 195940*Self(n-10) - Self(n-20): n in [1..40]]; // Vincenzo Librandi, Dec 22 2013
CROSSREFS
Sequence in context: A055906 A002355 A085395 * A131091 A356490 A336462
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Colin Barker, Nov 20 2013
STATUS
approved