OFFSET
1,2
FORMULA
Let 1 = 1/x_1 + ... + 1/x_{n-1} + p/q, where 1/x_1>=...>=1/x_{n-1}>=p/q and (p, q)=1. a(n) = q corresponding to maximal p (=A091457(n)) over all such expansions.
EXAMPLE
a(7) = 52975482882 because 1 = 1/2 + 1/3 + 1/7 + 1/43 + 1/5413 + 1/5419 + 9770455/52975482882 and there is no expansion with larger numerator of the remainder.
CROSSREFS
KEYWORD
frac,hard,nonn,more
AUTHOR
Max Alekseyev, Jan 11 2004
STATUS
approved