The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A041035 Denominators of continued fraction convergents to sqrt(22). 3
1, 1, 3, 13, 29, 42, 365, 407, 1179, 5123, 11425, 16548, 143809, 160357, 464523, 2018449, 4501421, 6519870, 56660381, 63180251, 183020883, 795263783, 1773548449, 2568812232, 22324046305, 24892858537 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
From Colin Barker, Jul 16 2012: (Start)
a(n) = 394*a(n-6) - a(n-12).
G.f.: -(x^10 - x^9 + 3*x^8 - 13*x^7 + 29*x^6 - 42*x^5 - 29*x^4 - 13*x^3 - 3*x^2 - x - 1)/(x^12 - 394*x^6 + 1). (End)
MATHEMATICA
Table[Denominator[FromContinuedFraction[ContinuedFraction[Sqrt[22], n]]], {n, 1, 50}] (* Vladimir Joseph Stephan Orlovsky, Mar 17 2011 *)
LinearRecurrence[{0, 0, 0, 0, 0, 394, 0, 0, 0, 0, 0, -1 }, {1, 1, 3, 13, 29, 42, 365, 407, 1179, 5123, 11425, 16548}, 50] (* Stefano Spezia, Sep 30 2018 *)
CoefficientList[Series[-(x^10 - x^9 + 3*x^8 - 13*x^7 + 29*x^6 - 42*x^5 - 29*x^4 - 13*x^3 - 3*x^2 - x- 1)/(x^12 - 394*x^6 + 1), {x, 0, 50}], x] (* Stefano Spezia, Sep 30 2018 *)
PROG
(PARI) vector(26, i, contfracpnqn(contfrac(sqrt(22), i))[2, 1]) \\ Arkadiusz Wesolowski, Sep 29 2018
(PARI) Vec(-(x^10 - x^9 + 3*x^8 - 13*x^7 + 29*x^6 - 42*x^5 - 29*x^4 - 13*x^3 - 3*x^2 - x - 1)/(x^12 - 394*x^6 + 1) + O(x^50)) \\ Stefano Spezia, Sep 30 2018
CROSSREFS
Sequence in context: A075726 A296776 A074498 * A042269 A049043 A031378
KEYWORD
nonn,cofr,frac,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 May 13 09:49 EDT 2024. Contains 372504 sequences. (Running on oeis4.)