login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A040387 Continued fraction for sqrt(408). 2
20, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40, 5, 40 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = 5*(9+7*(-1)^n)/2 for n>0. a(n) = a(n-2) for n>2. G.f.: -5*(4*x^2+x+4) / ((x-1)*(x+1)). [Colin Barker, Mar 25 2013]
MAPLE
with(numtheory): Digits := 300: convert(evalf(sqrt(408)), confrac);
MATHEMATICA
Block[{$MaxExtraPrecision=1000}, ContinuedFraction[Sqrt[408], 100]]
(* or *)
PadRight[{20}, 100, {40, 5}] (* Harvey P. Dale, Oct 06 2020 *)
CROSSREFS
Sequence in context: A104158 A068612 A233820 * A201137 A040385 A161997
KEYWORD
nonn,cofr,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 22 21:50 EDT 2024. Contains 373610 sequences. (Running on oeis4.)