OFFSET
1,9
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..2500
MATHEMATICA
t = Zeta[7]; s = {}; Do[n = Floor[t*i!]; t -= n/i!; AppendTo[s, n], {i, 1, 30}]; s (* Amiram Eldar, Nov 25 2018 *)
With[{b = Zeta[7]}, Table[If[n == 1, Floor[b], Floor[n!*b] - n*Floor[(n - 1)!*b]], {n, 1, 100}]] (* G. C. Greubel, Nov 26 2018 *)
PROG
(PARI) vector(30, n, if(n>1, t=t%1*n, t=zeta(7))\1) \\ M. F. Hasler, Nov 25 2018
(PARI) default(realprecision, 250); for(n=1, 80, print1(if(n==1, floor(zeta(7)), floor(n!*zeta(7)) - n*floor((n-1)!*zeta(7))), ", ")) \\ G. C. Greubel, Nov 26 2018
(Magma) SetDefaultRealField(RealField(250)); L:=RiemannZeta(); [Floor(Evaluate(L, 7))] cat [Floor(Factorial(n)*Evaluate(L, 7)) - n*Floor(Factorial((n-1))*Evaluate(L, 7)) : n in [2..80]]; // G. C. Greubel, Nov 26 2018
(Sage)
def A068456(n):
if (n==1): return floor(zeta(7))
else: return expand(floor(factorial(n)*zeta(7)) - n*floor(factorial(n-1)*zeta(7)))
[A068456(n) for n in (1..80)] # G. C. Greubel, Nov 26 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Mar 10 2002
EXTENSIONS
Name edited and keywords cons,easy removed by M. F. Hasler, Nov 25 2018
STATUS
approved