OFFSET
0,2
MAPLE
f:=proc(n) option remember;
if n <= 1 then n+1 else
n*f(n-1)+(n-1)*(n-2)*f(n-2); fi; end;
[seq(f(n), n=0..40)];
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Aug 27 2017
STATUS
approved