A248290 Egyptian fraction representation of sqrt(66) (A010518) using a greedy function.
8, 9, 78, 9365, 7225463317, 1286105510518248187999, 9221613893925388050026847069759756702671692, 6617240531535645994094212411930391575264080824725256027331667488206265171692288645898374
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[ 66]]