|
|
A040634
|
|
Continued fraction for sqrt(660).
|
|
2
|
|
|
25, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2, 4, 2, 1, 50, 1, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,1
|
|
COMMENTS
|
After the first term, periodic with period 6. - Robert Israel, Jul 27 2014
|
|
LINKS
|
|
|
FORMULA
|
G.f.: (25+x+2*x^2+4*x^3+2*x^4+x^5+25*x^6) / (1-x^6). - Wesley Ivan Hurt, Jul 29 2014
|
|
MAPLE
|
with(numtheory): Digits := 300: convert(evalf(sqrt(660)), confrac);
|
|
MATHEMATICA
|
ContinuedFraction[Sqrt[660], 100] (* or *) PadRight[{25}, 100, {50, 1, 2, 4, 2, 1}] (* Harvey P. Dale, Jul 26 2014 *)
CoefficientList[Series[(25 + x + 2*x^2 + 4*x^3 + 2*x^4 + x^5 + 25*x^6)/(1 - x^6), {x, 0, 100}], x] (* Wesley Ivan Hurt, Jul 29 2014 *)
Join[{25}, LinearRecurrence[{0, 0, 0, 0, 0, 1}, {1, 2, 4, 2, 1, 50}, 86]] (* Ray Chandler, Aug 26 2015 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,cofr,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|