OFFSET
0,6
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..673
C. G. Bower, Transforms (2)
FORMULA
"AGJ" (ordered, elements, labeled) transform of 0, 1, 1, 1...
MAPLE
b:= proc(n, i, p) option remember;
`if`(n=0, p!, `if`(i<2, 0, b(n, i-1, p)+
`if`(i>n, 0, b(n-i, i-1, p+1)*binomial(n, i))))
end:
a:= n-> b(n$2, 0):
seq(a(n), n=0..30); # Alois P. Heinz, May 11 2016
MATHEMATICA
b[n_, i_, p_] := b[n, i, p] = If[n == 0, p!, If[i < 2, 0, b[n, i - 1, p] + If[i > n, 0, b[n - i, i - 1, p + 1]*Binomial[n, i]]]]; a[n_] := b[n, n, 0]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Feb 27 2017, after Alois P. Heinz *)
PROG
(PARI) seq(n)=[subst(serlaplace(y^0*p), y, 1) | p <- Vec(serlaplace(prod(k=2, n, 1 + x^k*y/k! + 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