cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A010136 Continued fraction for sqrt(46).

Original entry on oeis.org

6, 1, 3, 1, 1, 2, 6, 2, 1, 1, 3, 1, 12, 1, 3, 1, 1, 2, 6, 2, 1, 1, 3, 1, 12, 1, 3, 1, 1, 2, 6, 2, 1, 1, 3, 1, 12, 1, 3, 1, 1, 2, 6, 2, 1, 1, 3, 1, 12, 1, 3, 1, 1, 2, 6, 2, 1, 1, 3, 1, 12, 1, 3, 1, 1, 2, 6, 2, 1, 1, 3, 1, 12, 1, 3, 1, 1, 2
Offset: 0

Views

Author

Keywords

Examples

			6.782329983125268139064556326... = 6 + 1/(1 + 1/(3 + 1/(1 + 1/(1 + ...)))). - _Harry J. Smith_, Jun 06 2009
		

References

  • James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, page 276.

Crossrefs

Cf. A010500 (decimal expansion), A041078/A041079 (convergents), A248272 (Egyptian fractions).
Cf. A190567.

Programs

  • Mathematica
    ContinuedFraction[Sqrt[46],300] (* Vladimir Joseph Stephan Orlovsky, Mar 07 2011 *)
  • PARI
    { allocatemem(932245000); default(realprecision, 16000); x=contfrac(sqrt(46)); for (n=0, 20000, write("b010136.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 06 2009

A041078 Numerators of continued fraction convergents to sqrt(46).

Original entry on oeis.org

6, 7, 27, 34, 61, 156, 997, 2150, 3147, 5297, 19038, 24335, 311058, 335393, 1317237, 1652630, 2969867, 7592364, 48524051, 104640466, 153164517, 257804983, 926579466, 1184384449, 15139192854, 16323577303
Offset: 0

Views

Author

Keywords

Crossrefs

Programs

Formula

a(n) = 48670*a(n-12)-a(n-24). G.f.: -(x^23 -6*x^22 +7*x^21 -27*x^20 +34*x^19 -61*x^18 +156*x^17 -997*x^16 +2150*x^15 -3147*x^14 +5297*x^13 -19038*x^12 -24335*x^11 -19038*x^10 -5297*x^9 -3147*x^8 -2150*x^7 -997*x^6 -156*x^5 -61*x^4 -34*x^3 -27*x^2 -7*x-6) / (x^24-48670*x^12+1). - Colin Barker, Jul 19 2012

Extensions

Formula corrected by Colin Barker, Jul 24 2012
Showing 1-2 of 2 results.