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”).

A041285
Denominators of continued fraction convergents to sqrt(155).
2
1, 2, 9, 20, 489, 998, 4481, 9960, 243521, 497002, 2231529, 4960060, 121272969, 247505998, 1111296961, 2470099920, 60393695041, 123257490002, 553423655049, 1230104800100, 30075938857449, 61381982514998, 275603868917441, 612589720349880, 14977757157314561
OFFSET
0,2
FORMULA
G.f.: (1 +2*x +9*x^2 +20*x^3 -9*x^4 +2*x^5 -x^6)/(1 -498*x^4 +x^8). - Vincenzo Librandi, Dec 14 2013
a(n) = 498*a(n-4) - a(n-8). - Vincenzo Librandi, Dec 14 2013
MATHEMATICA
Denominator/@Convergents[Sqrt[155], 40] (* Harvey P. Dale, Jul 18 2011 *)
CoefficientList[Series[(1 + 2 x + 9 x^2 + 20 x^3 - 9 x^4 + 2 x^5 - x^6)/(1 - 498 x^4 + x^8), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 14 2013 *)
PROG
(Magma) I:=[1, 2, 9, 20, 489, 998, 4481, 9960]; [n le 8 select I[n] else 498*Self(n-4)-Self(n-8): n in [1..40]]; // Vincenzo Librandi, Dec 14 2013
CROSSREFS
Cf. A041284.
Sequence in context: A002360 A100516 A337015 * A002888 A041963 A298912
KEYWORD
nonn,frac,easy
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Dec 14 2013
STATUS
approved