This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A040858 Continued fraction for sqrt(888). 1
 29, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1, 58, 1, 3, 1 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 LINKS Index entries for linear recurrences with constant coefficients, signature (0, 0, 0, 1). FORMULA a(n) = (1/8)*{-93*(n mod 4)+25*[(n+1) mod 4]+17*[(n+2) mod 4]+135*[(n+3) mod 4]}-29*[C(2*n,n) mod 2], with n>=0. [Paolo P. Lava, May 29 2009] From Wesley Ivan Hurt, Aug 29 2015: (Start) G.f.: (29+x+3*x^2+x^3+29*x^4)/(1-x^4). a(n) = 2+(-1)^n+55*((1+(-1)^(n/2))*(1+(-1)^n))/4, n>0. (End) MAPLE with(numtheory): Digits := 300: convert(evalf(sqrt(888)), confrac); MATHEMATICA CoefficientList[Series[(29 + x + 3 x^2 + x^3 + 29 x^4)/(1 - x^4), {x, 0, 30}], x] (* or *) Join[{29}, Table[2 + (-1)^n + 55 ((1 + (-1)^(n/2))*(1 + (-1)^n))/4, {n, 100}]] (* Wesley Ivan Hurt, Aug 29 2015 *) CROSSREFS Sequence in context: A040852 A040851 A040857 * A040856 A040860 A040859 Adjacent sequences:  A040855 A040856 A040857 * A040859 A040860 A040861 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified May 25 03:14 EDT 2019. Contains 323539 sequences. (Running on oeis4.)