OFFSET
1,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..100
R. Chapman, A polynomial taking integer values, Mathematics Magazine, 29 (1996), 121.
MATHEMATICA
PROG
(Magma)
Barnes:= func< n | (&*[Factorial(j): j in [1..n-1]]) >;
f:= func< k | (&*[k+1-j+Floor((k+2)/2)-Floor((j+1)/2): j in [1..k]]) >;
[1] cat [(&*[f(k): k in [1..n-1]])/Barnes(n): n in [2..20]]; // G. C. Greubel, Sep 19 2023
(SageMath)
def barnes(n): return product(factorial(j) for j in range(n))
def f(k): return product(k-j+(k//2)-(j//2) for j in range(k))
[product(f(k) for k in range(1, n) )//barnes(n) for n in range(1, 31)] # G. C. Greubel, Sep 19 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 02 2012
STATUS
approved