login
Egyptian fraction representation of sqrt(73) (A010525) using a greedy function.
0

%I #6 Oct 24 2019 22:53:51

%S 8,2,23,1904,3644794,253138275595730,299921681006149892361129426137,

%T 319157637936684764321170119844052189479588993114762538993037,

%U 104022456806315370788933277888878173955194511356798258776365960524644747879084195850803592853844837028709668458856157018

%N Egyptian fraction representation of sqrt(73) (A010525) using a greedy function.

%t 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[ 73]]

%Y Egyptian fraction representations of the square roots: A006487, A224231, A248235-A248322.

%Y Egyptian fraction representations of the cube roots: A129702, A132480-A132574.

%K nonn

%O 0,1

%A _Robert G. Wilson v_, Oct 04 2014