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.

A248237 Egyptian fraction representation of sqrt(7) (A010465) using a greedy function.

This page as a plain text file.
%I A248237 #6 Oct 20 2019 12:21:09
%S A248237 2,2,7,346,250326,159992246122,43126926376468440463866,
%T A248237 2067900185855597116733968004943580535040713497,
%U A248237 14833490144163739987168640921306687956266487136609932761918465200939453258507455567518894133
%N A248237 Egyptian fraction representation of sqrt(7) (A010465) using a greedy function.
%t A248237 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[ 7]]
%Y A248237 Egyptian fraction representations of the square roots: A006487, A224231, A248235-A248322.
%Y A248237 Egyptian fraction representations of the cube roots: A129702, A132480-A132574.
%K A248237 nonn
%O A248237 0,1
%A A248237 _Robert G. Wilson v_, Oct 04 2014