OFFSET
1,4
COMMENTS
If a(n) is not required to be as large as possible, it isn't well defined: it can be decreased by any amount x without changing the value of the sum, if x*(n+1) is added to a(n+1), which in turn can be decreased by any arbitrary amount etc. - M. F. Hasler, Dec 04 2018
LINKS
MATHEMATICA
Table[If[n == 1, Floor[Log[Pi]], Floor[n!*Log[Pi]] - n*Floor[(n - 1)!*Log[Pi]]], {n, 1, 50}] (* G. C. Greubel, Mar 21 2018 *)
PROG
(PARI) for(n=1, 30, print1(if(n==1, floor(log(Pi)), floor(n!*log(Pi)) - n*floor((n-1)!*log(Pi))), ", ")) \\ G. C. Greubel, Mar 21 2018
(PARI) A068448_vec(N=90, c=log(precision(Pi, N*log(N/2.4)\/2.3)))=vector(N, n, if(n>1, c=c%1*n, c)\1) \\ N*log(N/2.4)\/2.3 ~ logint(N!, 10) but uses much less memory when N is big. - M. F. Hasler, Nov 28 2018
(Magma) R:= RealField(); [Floor(Log(Pi(R)))] cat [Floor(Factorial(n)*Log(Pi(R))) - n*Floor(Factorial((n-1))*Log(Pi(R))) : n in [2..30]]; // G. C. Greubel, Mar 21 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 10 2002
EXTENSIONS
Name edited by M. F. Hasler, Dec 04 2018
STATUS
approved