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!)
A042232 Numerators of continued fraction convergents to sqrt(642). 2
25, 51, 76, 1875, 1951, 5777, 290801, 587379, 878180, 21663699, 22541879, 66747457, 3359914729, 6786576915, 10146491644, 250302376371, 260448868015, 771200112401, 38820454488065, 78412109088531 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,11554,0,0,0,0,0,-1).
FORMULA
G.f.: (25 +51*x +76*x^2 +1875*x^3 +1951*x^4 +5777*x^5 +1951*x^6 -1875*x^7 +76*x^8 -51*x^9 +25*x^10 -x^11)/(1 -11554*x^6 +x^12). - Vincenzo Librandi, Nov 19 2013
a(n) = 11554*a(n-6) - a(n-12). - Vincenzo Librandi, Nov 19 2013
MATHEMATICA
Numerator[Convergents[Sqrt[642], 30]] (* or *) CoefficientList[Series[(25 + 51 x + 76 x^2 + 1875 x^3 + 1951 x^4 + 5777 x^5 + 1951 x^6 - 1875 x^7 + 76 x^8 - 51 x^9 + 25 x^10 - x^11)/(1 - 11554 x^6 + x^12), {x, 0, 20}], x] (* Vincenzo Librandi, Nov 19 2013 *)
PROG
(Magma) I:=[25, 51, 76, 1875, 1951, 5777, 290801, 587379, 878180, 21663699, 22541879, 66747457]; [n le 12 select I[n] else 11554*Self(n-6)-Self(n-12): n in [1..30]]; // Vincenzo Librandi, Nov 19 2013
CROSSREFS
Cf. A042233.
Sequence in context: A042236 A042238 A042234 * A273868 A338079 A337630
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 April 24 07:54 EDT 2024. Contains 371922 sequences. (Running on oeis4.)