A248296 Egyptian fraction representation of sqrt(72) (A010524) using a greedy function.
8, 3, 7, 111, 12212, 421899134, 214366287730447196, 74154301233407587376512952938963737, 22082353211860579770417392785370193807657413641357962334630621172698141
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[ 72]]