|
|
A041187
|
|
Denominators of continued fraction convergents to sqrt(104).
|
|
2
|
|
|
1, 5, 101, 510, 10301, 52015, 1050601, 5305020, 107151001, 541060025, 10928351501, 55182817530, 1114584702101, 5628106328035, 113676711262801, 574011662642040, 11593909964103601, 58543561483160045, 1182465139627304501, 5970869259619682550
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
Denominator[Convergents[Sqrt[104], 30]] (* or *) CoefficientList[Series[(1 + 5 x - x^2)/(1 - 102 x^2 + x^4), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 12 2013 *)
LinearRecurrence[{0, 102, 0, -1}, {1, 5, 101, 510}, 30] (* Harvey P. Dale, Mar 12 2015 *)
|
|
PROG
|
(Magma) I:=[1, 5, 101, 510]; [n le 4 select I[n] else 102*Self(n-2)-Self(n-4): n in [1..30]]; // Vincenzo Librandi, Dec 12 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,frac,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|