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.

A040342 Continued fraction for sqrt(362).

Original entry on oeis.org

19, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38, 38
Offset: 0

Views

Author

Keywords

Examples

			19 + 1/(38 + 1/(38 + 1/(38 + 1/(38 + ...)))) = sqrt(362).
		

Crossrefs

Cf. A040000, A041684/A041685 (convergents).

Programs

  • Maple
    with(numtheory): Digits := 300: convert(evalf(sqrt(362)),confrac);

Formula

From Elmo R. Oliveira, Feb 14 2024: (Start)
a(n) = 38 for n >= 1.
G.f.: 19*(1+x)/(1-x).
E.g.f.: 38*exp(x) - 19.
a(n) = 19*A040000(n). (End)

A041684 Numerators of continued fraction convergents to sqrt(362).

Original entry on oeis.org

19, 723, 27493, 1045457, 39754859, 1511730099, 57485498621, 2185960677697, 83123991251107, 3160897628219763, 120197233863602101, 4570655784445099601, 173805117042777386939, 6609165103409985803283, 251322079046622237911693, 9556848168875055026447617
Offset: 0

Views

Author

Keywords

Crossrefs

Cf. A041685.

Programs

  • Mathematica
    Numerator[Convergents[Sqrt[362], 30]] (* Vincenzo Librandi, Nov 06 2013 *)
    LinearRecurrence[{38,1},{19,723},20] (* Harvey P. Dale, Feb 10 2019 *)

Formula

From Philippe Deléham, Nov 23 2008: (Start)
a(n) = 38*a(n-1) + a(n-2), n > 1; a(0)=19, a(1)=723.
G.f.: (19+x)/(1-38*x-x^2). (End)

Extensions

Additional term from Colin Barker, Nov 09 2013
Showing 1-2 of 2 results.