login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A248257
Egyptian fraction representation of sqrt(30) (A010485) using a greedy function.
0
5, 3, 7, 967, 1028069, 2298068118217, 5494201416226460930421913, 8921656602209859921713003519980673897631224869075674, 838074105556913621236663949120105672159883231833809533473972526431411898035963444027095791284399338983624
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[ 30]]
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: A077891 A129735 A300502 * A019663 A187488 A372831
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Oct 04 2014
STATUS
approved