login
A041836
Numerators of continued fraction convergents to sqrt(439).
2
20, 21, 419, 440, 18019, 18459, 368740, 387199, 15856700, 16243899, 324490781, 340734680, 13953877981, 14294612661, 285551518540, 299846131201, 12279396766580, 12579242897781, 251285011824419
OFFSET
0,1
LINKS
FORMULA
G.f.: (20 +21*x +419*x^2 +440*x^3 +419*x^4 -21*x^5 +20*x^6 -x^7)/(1 -880*x^4 +x^8). - Vincenzo Librandi, Nov 10 2013
a(n) = 880*a(n-4)-a(n-8). - Vincenzo Librandi, Nov 10 2013
MATHEMATICA
Numerator[Convergents[Sqrt[439], 30]] (* or *) CoefficientList[Series[(20 + 21 x + 419 x^2 + 440 x^3 + 419 x^4 - 21 x^5 + 20 x^6 - x^7)/(1 - 880 x^4 + x^8), {x, 0, 25}], x] (* Vincenzo Librandi, Nov 10 2013 *)
LinearRecurrence[{0, 0, 0, 880, 0, 0, 0, -1}, {20, 21, 419, 440, 18019, 18459, 368740, 387199}, 20] (* Harvey P. Dale, Aug 29 2020 *)
PROG
(Magma) I:=[20, 21, 419, 440, 18019, 18459, 368740, 387199]; [n le 8 select I[n] else 880*Self(n-4)-Self(n-8): n in [1..25]]; // Vincenzo Librandi, Nov 10 2013
CROSSREFS
Cf. A041837.
Sequence in context: A028931 A063012 A302205 * A041837 A041838 A128356
KEYWORD
nonn,cofr,frac,easy,less
AUTHOR
STATUS
approved