OFFSET
0,4
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..450
FORMULA
From Alois P. Heinz, Nov 07 2011: (Start)
a(n) = 2*(n-2)! * [x^(n-2)] x/((1+x)^2*(1-x)^3) for n>=2, else a(n) = n.
a(n) = 2*A152887(n-2) for n>=2, else a(n) = n. (End)
MAPLE
a:= n-> `if`(n<2, n, ceil(n/2)*(ceil(n/2)-1)*(n-2)!):
seq(a(n), n=0..30); # Alois P. Heinz, Nov 07 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Olivier Gérard, Nov 07 2011
STATUS
approved