A248236 Egyptian fraction representation of sqrt(6) (A010464) using a greedy function.
2, 3, 9, 199, 49572, 30799364495, 1408429952507887000310, 3677260735023142918878205127156519291320765, 102293202370266874495262346614859561910266026424997387777849999466054887759064682698213
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[ 6]]
Comments