OFFSET
0,4
COMMENTS
Lah transform of the sequence 1, 0, -1, 0, 1, 0, -1, 0, ...
LINKS
Robert Israel, Table of n, a(n) for n = 0..446
N. J. A. Sloane, Transforms
FORMULA
a(n) = Sum_{k=0..floor(n/2)} (-1)^k*binomial(n-1,2*k-1)*n!/(2*k)!.
-2*(2*n + 3)*(n + 2)*(n + 1)*a(n + 1) + (6*n^2 + 24*n + 25)*a(n + 2) - 2*(2*n + 5)*a(n + 3) + a(n + 4) + n*(n + 2)*(n + 1)^2*a(n)=0. - Robert Israel, Mar 26 2019
MAPLE
a:=series(cos(x/(1 - x)), x=0, 22): seq(n!*coeff(a, x, n), n=0..21); # Paolo P. Lava, Mar 26 2019
MATHEMATICA
nmax = 22; CoefficientList[Series[Cos[x/(1 - x)], {x, 0, nmax}], x] Range[0, nmax]!
Table[Sum[(-1)^k Binomial[n - 1, 2 k - 1] n!/(2 k)!, {k, 0, Floor[n/2]}], {n, 0, 22}]
Join[{1}, Table[(1 - n) n! HypergeometricPFQ[{1 - n/2, 3/2 - n/2}, {3/2, 3/2, 2}, -1/4]/2, {n, 22}]]
PROG
(PARI) my(x='x + O('x^25)); Vec(serlaplace(cos(x/(1 - x)))) \\ Michel Marcus, Mar 26 2019
CROSSREFS
KEYWORD
sign
AUTHOR
Ilya Gutkovskiy, Jul 27 2018
STATUS
approved