OFFSET
1,5
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
EXAMPLE
Gamma(3/4) = 1 + 0/2! + 1/3! + 1/4! + 2/5! + 0/6! + 2/7! + ...
MATHEMATICA
With[{b = Gamma[3/4]}, Table[If[n == 1, Floor[b], Floor[n!*b]-n*Floor[(n - 1)!*b]], {n, 1, 100}]] (* G. C. Greubel, Nov 27 2018 *)
PROG
(PARI) A068463(N=90, c=gamma(precision(.75, logint(N!, 10)+1)))=vector(N, n, if(n>1, c=c%1*n, c)\1) \\ - M. F. Hasler, Nov 26 2018
(PARI) default(realprecision, 250); b = gamma(3/4); for(n=1, 80, print1(if(n==1, floor(b), floor(n!*b) - n*floor((n-1)!*b)), ", ")) \\ G. C. Greubel, Nov 27 2018
(Magma) SetDefaultRealField(RealField(250)); [Floor(Gamma(3/4))] cat [Floor(Factorial(n)*Gamma(3/4)) - n*Floor(Factorial((n-1))*Gamma(3/4)) : n in [2..80]]; // G. C. Greubel, Nov 27 2018
(Sage)
def A068463(n):
if (n==1): return floor(gamma(3/4))
else: return expand(floor(factorial(n)*gamma(3/4)) - n*floor(factorial(n-1)*gamma(3/4)))
[A068463(n) for n in (1..80)] # G. C. Greubel, Nov 27 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 10 2002
EXTENSIONS
Name edited and keywords cons, easy removed by M. F. Hasler, Nov 26 2018
STATUS
approved