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.

A069139 Egyptian fraction for square root of 1/2.

Original entry on oeis.org

2, 5, 141, 68575, 32089377154, 1644444237306316731482, 65593236350142721999718859354569312622907814
Offset: 0

Views

Author

Henry Bottomley, Apr 08 2002

Keywords

Examples

			a(3) = 68575 since sqrt(1/2) = 0.707106781186..., 1/2 + 1/5 + 1/141 + 1/68574 = 0.707106781368... (which is too much) and 1/2 + 1/5 + 1/141 + 1/68575 = 0.707106781155... (which is not too much).
		

Crossrefs

Cf. A006487, A010503 (sqrt(1/2)).

Programs

  • Mathematica
    a = {}; k = N[1/Sqrt[2], 1000]; Do[s = Ceiling[1/k]; AppendTo[a, s]; k = k - 1/s, {n, 1, 10}]; a (* Artur Jasinski, Sep 22 2008 *)

Formula

a(n) = ceiling(1/(1/sqrt(2) - Sum_{i=0..n-1} 1/a(i))).