A248276 Egyptian fraction representation of sqrt(51) (A010504) using a greedy function.
7, 8, 61, 28583, 11215712908, 163912730694765446902, 323312653298355913241854107936424272297052, 282221573696620922018917798450701835109135899750274145244297035015729916105092332416
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[ 51]]
Comments