A248278 Egyptian fraction representation of sqrt(53) (A010506) using a greedy function.
7, 4, 34, 1433, 3473810, 16229351336487, 949514635841230182654078450, 2889844410885034994651072554166092838631734010754362047, 90303610423494587890114446343335205731154007285533876023746429382538260256932049359769872513411427600496627202
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[ 53]]
Comments