OFFSET
1,1
COMMENTS
Numbers n such that abs(exp(n)/m!-1)<abs(exp(k)/j!-1) with m such that abs(exp(n)-m!)=min for any k with 1<k<n and j such that abs(exp(k)-j!)=min.
EXAMPLE
a(1)=2 because exp(2)=7.389 is a better approximation to the nearest factorial 3!=6 with +23% relative error than is exp(1)=2.718 for its closest factorial 2!=2 with +36% relative error.
a(2)=3: exp(3)/4!-1=-0.1631. The next improvement occurs for a(3)=15 because exp(15)/10!-1=-0.099.
a(22)=1599109448865: The relative error of exp(1599109448865) in approximating A101506(22)!=66836971558! is 1.276*10^(-12).
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Hugo Pfoertner, Dec 20 2004
STATUS
approved