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.

A248290 Egyptian fraction representation of sqrt(66) (A010518) using a greedy function.

Original entry on oeis.org

8, 9, 78, 9365, 7225463317, 1286105510518248187999, 9221613893925388050026847069759756702671692, 6617240531535645994094212411930391575264080824725256027331667488206265171692288645898374
Offset: 0

Views

Author

Robert G. Wilson v, Oct 04 2014

Keywords

Crossrefs

Egyptian fraction representations of the square roots: A006487, A224231, A248235-A248322.
Egyptian fraction representations of the cube roots: A129702, A132480-A132574.

Programs

  • Mathematica
    Egyptian[nbr_] := Block[{lst = {IntegerPart[nbr]}, cons = N[ FractionalPart[ nbr], 2^20], denom, iter = 8}, While[ iter > 0, denom = Ceiling[ 1/cons]; AppendTo[ lst, denom]; cons -= 1/denom; iter--]; lst]; Egyptian[ Sqrt[ 66]]

A040057 Continued fraction for sqrt(66).

Original entry on oeis.org

8, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8
Offset: 0

Views

Author

Keywords

Examples

			8.1240384046359603604598835... = 8 + 1/(8 + 1/(16 + 1/(8 + 1/(16 + ...)))). - _Harry J. Smith_, Jun 08 2009
		

Crossrefs

Cf. A010518 Decimal expansion. - Harry J. Smith, Jun 08 2009

Programs

  • Maple
    Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
  • Mathematica
    ContinuedFraction[Sqrt[66],300] (* Vladimir Joseph Stephan Orlovsky, Mar 08 2011 *)
  • PARI
    { allocatemem(932245000); default(realprecision, 43000); x=contfrac(sqrt(66)); for (n=0, 20000, write("b040057.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 08 2009
Showing 1-2 of 2 results.