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!)
A195617 Numerators b(n) of Pythagorean approximations b(n)/a(n) to 3. 4
35, 1333, 50615, 1922041, 72986939, 2771581645, 105247115567, 3996618809905, 151766267660819, 5763121552301221, 218846852719785575, 8310417281799550633, 315577009855663138475, 11983615957233399711421, 455061829365013525895519 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
See A195500 for discussion and list of related sequences; see A195616 for Mathematica program.
LINKS
FORMULA
From Colin Barker, Jun 04 2015: (Start)
a(n) = 37*a(n-1) + 37*a(n-2) - a(n-3).
G.f.: x*(35+38*x-x^2) / ((1+x)*(1-38*x+x^2)). (End)
a(n) = (1/20)*(3*A085447(2*n+1) + 2*(-1)^n). - G. C. Greubel, Feb 13 2023
MATHEMATICA
Table[(3*LucasL[2*n+1, 6] +2*(-1)^n)/20, {n, 40}] (* G. C. Greubel, Feb 13 2023 *)
PROG
(PARI) Vec(-x*(x^2-38*x-35)/((x+1)*(x^2-38*x+1)) + O(x^50)) \\ Colin Barker, Jun 04 2015
(Magma) I:=[35, 1333, 50615]; [n le 3 select I[n] else 37*Self(n-1) +37*Self(n-2) -Self(n-3): n in [1..40]]; // G. C. Greubel, Feb 13 2023
(SageMath)
A085447=BinaryRecurrenceSequence(6, 1, 2, 6)
[(3*A085447(2*n+1) + 2*(-1)^n)/20 for n in range(1, 41)] # G. C. Greubel, Feb 13 2023
CROSSREFS
Sequence in context: A238379 A158733 A029560 * A249885 A135923 A180883
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Sep 22 2011
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 April 18 21:51 EDT 2024. Contains 371781 sequences. (Running on oeis4.)