OFFSET
0,3
LINKS
Eric Weisstein's World of Mathematics, Pochhammer Symbol.
FORMULA
a(n) = n! * [x^n] cos( sqrt(n) * log(1+x) ).
a(n) = (-1)^n * ( (sqrt(n) * i)_n + (-sqrt(n) * i)_n )/2, where (x)_n is the Pochhammer symbol and i is the imaginary unit.
PROG
(PARI) a(n) = sum(k=0, n\2, (-n)^k*stirling(n, 2*k, 1));
(PARI) a(n) = round(n!*polcoef(cos(sqrt(n)*log(1+x+x*O(x^n))), n));
(PARI) a(n) = (-1)^n*round((prod(k=0, n-1, sqrt(n)*I+k)+prod(k=0, n-1, -sqrt(n)*I+k)))/2;
CROSSREFS
KEYWORD
sign
AUTHOR
Seiichi Manyama, Oct 10 2022
STATUS
approved