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

A042232
Numerators of continued fraction convergents to sqrt(642).
2
25, 51, 76, 1875, 1951, 5777, 290801, 587379, 878180, 21663699, 22541879, 66747457, 3359914729, 6786576915, 10146491644, 250302376371, 260448868015, 771200112401, 38820454488065, 78412109088531
OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,11554,0,0,0,0,0,-1).
FORMULA
G.f.: (25 +51*x +76*x^2 +1875*x^3 +1951*x^4 +5777*x^5 +1951*x^6 -1875*x^7 +76*x^8 -51*x^9 +25*x^10 -x^11)/(1 -11554*x^6 +x^12). - Vincenzo Librandi, Nov 19 2013
a(n) = 11554*a(n-6) - a(n-12). - Vincenzo Librandi, Nov 19 2013
MATHEMATICA
Numerator[Convergents[Sqrt[642], 30]] (* or *) CoefficientList[Series[(25 + 51 x + 76 x^2 + 1875 x^3 + 1951 x^4 + 5777 x^5 + 1951 x^6 - 1875 x^7 + 76 x^8 - 51 x^9 + 25 x^10 - x^11)/(1 - 11554 x^6 + x^12), {x, 0, 20}], x] (* Vincenzo Librandi, Nov 19 2013 *)
PROG
(Magma) I:=[25, 51, 76, 1875, 1951, 5777, 290801, 587379, 878180, 21663699, 22541879, 66747457]; [n le 12 select I[n] else 11554*Self(n-6)-Self(n-12): n in [1..30]]; // Vincenzo Librandi, Nov 19 2013
CROSSREFS
Cf. A042233.
Sequence in context: A042236 A042238 A042234 * A273868 A338079 A337630
KEYWORD
nonn,cofr,frac,easy
AUTHOR
STATUS
approved