A248292 Egyptian fraction representation of sqrt(68) (A010520) using a greedy function.
8, 5, 22, 1322, 3621500, 17445297363138, 776156771532279826926457191, 1125673063406602593902433484734481317497130098734266573, 2359563766366828684685276326098059577152401128042629265861141526556488039378108148960279616218064655420661149
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[ 68]]