%I #11 Oct 24 2019 22:55:41
%S 8,2,4,13,207,145528,2014567277837,18506674542689699353989922,
%T 29204169131207852528143087130566230597483060288517588,
%U 1413186736193694972997145387255081607494646716902772853300760690304360053815944509194409970991405502998192
%N Egyptian fraction representation of sqrt(78) (A010530) using a greedy function.
%t 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[ 78]]
%Y Egyptian fraction representations of the square roots: A006487, A224231, A248235-A248322.
%Y Egyptian fraction representations of the cube roots: A129702, A132480-A132574.
%K nonn
%O 0,1
%A _Robert G. Wilson v_, Oct 04 2014
|