A248303 Egyptian fraction representation of sqrt(79) (A010531) using a greedy function.
8, 2, 3, 19, 449, 428533, 9269693581837, 91606099704009514713682461, 9363306451087445468962351366467752586530744299460793, 108004048445456272073056808573911074497485924169946430496208965479597773835656564948730792745155753648476
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[ 79]]