OFFSET
0,5
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..742
C. G. Bower, Transforms (2)
FORMULA
"AGJ" (ordered, elements, labeled) transform of 1, 0, 1, 0, ...(odds).
MAPLE
b:= proc(n, i, p) option remember;
`if`(n=0, p!, `if`(i<1, 0, b(n, i-2, p)+
`if`(i>n, 0, b(n-i, i-2, p+1)*binomial(n, i))))
end:
a:= n-> b(n, n-1+irem(n, 2), 0):
seq(a(n), n=0..30);
MATHEMATICA
b[n_, i_, p_] := b[n, i, p] = If[n==0, p!, If[i<1, 0, b[n, i-2, p] + If[i>n, 0, b[n-i, i-2, p+1]*Binomial[n, i]]]]; a[n_] := b[n, n-1+Mod[n, 2], 0]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Feb 27 2017, translated from Maple *)
PROG
(PARI) seq(n)=[subst(serlaplace(y^0*p), y, 1) | p <- Vec(serlaplace(prod(k=1, ceil(n/2), 1 + x^(2*k-1)*y/(2*k-1)! + O(x*x^n))))] \\ Andrew Howroyd, Sep 13 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
a(0)=1 prepended by Alois P. Heinz, May 11 2016
STATUS
approved