A248253 Egyptian fraction representation of sqrt(26) (A010481) using a greedy function.
5, 11, 124, 21784, 767400293, 1762025132544871871, 3756028786746097256770667892973677974, 42736560346010944990137576929510502074095427615068285034007804816583306199
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[ 26]]