A248311 Egyptian fraction representation of sqrt(88) (A010539) using a greedy function.
9, 3, 22, 490, 354041, 1208217960776, 4186940633541789679127193, 76474669481022771277404940186836961906372402204599, 7594258642248803079765161740266796480079825999844206739159205729216343587849398469094469783005401105
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[ 88]]