OFFSET
1,1
COMMENTS
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..5000 (first 100 terms from Reinhard Zumkeller)
EXAMPLE
a(16) = 32640 because 16/17 = 1/2 + 1/3 + 1/10 + 1/128 + 1/32640.
MATHEMATICA
a[n_] := Module[{m = n/(n+1)}, While[Numerator[m]>1, m = m-1/Ceiling[1/m]]; 1/m]; Array[a, 100] (* Jean-François Alcover, Mar 12 2019, after M. F. Hasler *)
PROG
(PARI) a(n)={n/=(n+1); while(numerator(n)>1, n-=1/ceil(1/n)); 1/n} \\ M. F. Hasler, Sep 24 2014
(Haskell)
a100695 = last . a247765_row -- Reinhard Zumkeller, Sep 25 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
John W. Layman, Dec 08 2004
STATUS
approved