[go: up one dir, main page]

login
A248264
Egyptian fraction representation of sqrt(38) (A010492) using a greedy function.
0
6, 7, 47, 3569, 13543237, 813461964457561, 7421316108781190769825230152615, 711253293828537228004750977021512448161146012227144474046636992, 2200029703970808428058199608953702518884689809814432014002394662129432102727790523039076189301028040002865113400234535183784056
OFFSET
0,1
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[ 38]]
CROSSREFS
Egyptian fraction representations of the square roots: A006487, A224231, A248235-A248322.
Egyptian fraction representations of the cube roots: A129702, A132480-A132574.
Sequence in context: A047181 A080879 A119108 * A042843 A182622 A028423
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Oct 04 2014
STATUS
approved