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”).

A248271
Egyptian fraction representation of sqrt(45) (A010499) using a greedy function.
1
6, 2, 5, 122, 138674, 32476589259, 7827697016386517458238, 674742854143668103289252692160450020023615629, 480580099090725670530151893237450499682750267119621001128141465878491826900413350973083878
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[ 45]]
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: A238901 A166200 A120832 * A021988 A021619 A308718
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Oct 04 2014
STATUS
approved