A248269 Egyptian fraction representation of sqrt(43) (A010497) using a greedy function.
6, 2, 18, 532, 305858, 137859230710, 22012211318177566410441, 1147928569154887244380386940705198857524244457, 54505440157936785019731226309482186897275025107764309863984976644953861019275801793173245974
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[ 43]]