A248293 Egyptian fraction representation of sqrt(69) (A010521) using a greedy function.
8, 4, 18, 937, 933269, 1035335826584, 1922586201513701668252744, 28276178347455966021225105018046994195665521584589, 833556138210674401337075496134582593689166273775276908669899884379507156146934822563063380503158977
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[ 69]]