|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
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
|
|
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
|
|
|
KEYWORD
|
nonn,cofr,frac,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|