login
A040912
Continued fraction for sqrt(943).
2
30, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2, 2, 2, 1, 60, 1, 2
OFFSET
0,1
FORMULA
a(n) = 2+floor((n+4)/6)-floor((n+7)/6)+59*(floor((n+6)/6)-floor((n+5)/6)) for n>0. - Wesley Ivan Hurt, Apr 10 2017
MAPLE
with(numtheory): Digits := 300: convert(evalf(sqrt(943)), confrac);
MATHEMATICA
ContinuedFraction[Sqrt[943], 100] (* or *) PadRight[{30}, 100, {60, 1, 2, 2, 2, 1}] (* Harvey P. Dale, Nov 20 2024 *)
CROSSREFS
Sequence in context: A157634 A040913 A040914 * A083253 A040911 A040910
KEYWORD
nonn,cofr,easy,changed
STATUS
approved