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!)
A042856 Numerators of continued fraction convergents to sqrt(959). 2
30, 31, 929, 960, 58529, 59489, 1783710, 1843199, 112375650, 114218849, 3424722271, 3538941120, 215761189471, 219300130591, 6575464976610, 6794765107201, 414261371408670, 421056136515871, 12624889330368929, 13045945466884800, 795381617343456929, 808427562810341729 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
G.f.: (30 + 31*x + 929*x^2 + 960*x^3 + 929*x^4 - 31*x^5 + 30*x^6 - x^7)/(1 - 1920*x^4 + x^8). - Vincenzo Librandi, Dec 07 2013
a(n) = 1920*a(n-4) - a(n-8). - Vincenzo Librandi, Dec 07 2013
MATHEMATICA
Numerator[Convergents[Sqrt[959], 30]] (* or *) CoefficientList[Series[(30 + 31 x + 929 x^2 + 960 x^3 + 929 x^4 - 31 x^5 + 30 x^6 - x^7)/(1 - 1920 x^4 + x^8), {x, 0, 30}], x] (* Vincenzo Librandi, Dec 07 2013 *)
LinearRecurrence[{0, 0, 0, 1920, 0, 0, 0, -1}, {30, 31, 929, 960, 58529, 59489, 1783710, 1843199}, 30] (* Harvey P. Dale, Apr 09 2015 *)
PROG
(Magma) I:=[ 30, 31, 929, 960, 58529, 59489, 1783710, 1843199 ]; [n le 8 select I[n] else 1920*Self(n-4)-Self(n-8): n in [1..30]]; // Vincenzo Librandi, Dec 07 2013
CROSSREFS
Cf. A042857.
Sequence in context: A042852 A042854 A268337 * A042857 A042858 A175514
KEYWORD
nonn,cofr,frac,easy
AUTHOR
EXTENSIONS
More terms from Vincenzo Librandi, Dec 07 2013
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 15 11:13 EDT 2024. Contains 372540 sequences. (Running on oeis4.)