A248306 Egyptian fraction representation of sqrt(83) (A010534) using a greedy function.
9, 10, 96, 59128, 60492862652, 4028155696720429656035, 17013291528585219660340839803942618904707681, 456446101271720201686717630050003610800823977708023229701905011777418617118028569791687
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[ 83]]
Comments