OFFSET
1,2
COMMENTS
MATHEMATICA
f[n_] := f[n] = Block[{h = k = 1}, While[ !IntegerQ[ Numerator[h]/n] && ! IntegerQ[Denominator[h]/n], k++; h = h + 1/k]; k]; Do[ f[n], {n, 84000}]; Table[ Select[ Range[84000], f[ # ] == n &][[1]], {n, 60}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet and Robert G. Wilson v, Sep 29 2005
EXTENSIONS
Entry revised (better definition, corrections, more terms) by Don Reble, Aug 14 2014
STATUS
approved