|
|
A041271
|
|
Denominators of continued fraction convergents to sqrt(148).
|
|
2
|
|
|
1, 6, 145, 876, 21169, 127890, 3090529, 18671064, 451196065, 2725847454, 65871534961, 397955057220, 9616792908241, 58098712506666, 1403985893068225, 8482014070916016, 204972323595052609, 1238315955641231670, 29924555258984612689, 180785647509548907804
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (1 + 6*x - x^2)/(x^4 - 146*x^2 + 1).
a(n) = 146*a(n-2) - a(n-4). (End)
|
|
MATHEMATICA
|
Denominator[Convergents[Sqrt[148], 30]] (* or *) CoefficientList[Series[(1 + 6 x - x^2)/(x^4 - 146 x^2 + 1), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 14 2013 *)
|
|
PROG
|
(Magma) I:=[1, 6, 145, 876]; [n le 4 select I[n] else 146*Self(n-2)-Self(n-4): n in [1..40]]; // Vincenzo Librandi, Dec 14 2013
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,frac,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|