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

A248266
Egyptian fraction representation of sqrt(40) (A010494) using a greedy function.
0
6, 4, 14, 320, 571786, 469930223859, 260342286471149560589985, 110737149164265654381526929767261159120340941327, 13640751783742037895965317463353502238298025074840803034014381823166601709380037834476485770683
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[ 40]]
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: A131828 A096038 A064462 * A325689 A199890 A198459
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Oct 04 2014
STATUS
approved