A248297 Egyptian fraction representation of sqrt(73) (A010525) using a greedy function.
8, 2, 23, 1904, 3644794, 253138275595730, 299921681006149892361129426137, 319157637936684764321170119844052189479588993114762538993037, 104022456806315370788933277888878173955194511356798258776365960524644747879084195850803592853844837028709668458856157018
Offset: 0
Keywords
Crossrefs
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[ 73]]
Comments