OFFSET
1,1
COMMENTS
a(k)! is the closest factorial to exp(A101507(k)). The next term is > 10^11.
EXAMPLE
a(1)=3 because log(3!)=1.79176 is closer to 2 than is log(2!)=0.693147 to 1.
a(2)=4: log(4!)=3.178054, a(3)=10: log(10!)=15.1044126, a(4)=12: log(12!)=19.987214, a(5)=25: log(25!)=58.003605.
PROG
(PARI) r=9; for(n=4, 1e7, t=lngamma(n); t=abs(t-round(t)); if(t<r, r=t; print1(n-1", "))) \\ Charles R Greathouse IV, Apr 28 2014
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Hugo Pfoertner, Dec 20 2004
STATUS
approved