A248299 Egyptian fraction representation of sqrt(75) (A010527) using a greedy function.
8, 2, 7, 58, 6431, 53009387, 13524645787537549, 1142628380301529129095399568249405, 1570973545691471437706583067806558638094352380787686966365249029961, 30132697563946080563252698610167018391060692836650929258987357511120069113850317439674328461143709736843885017809313776112531985178378
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[ 75]]
Comments