OFFSET
0,2
FORMULA
a(n) = (4*n - 2)*a(n-1) - 3*(n - 1)*(2*n - 3)*a(n-2) + (n - 1)*(n - 2)*(4*n - 9)*a(n-3) - (n - 2)*(n - 1)*(n - 3)^2*a(n-4) for n >= 4.
a(n) ~ exp(-1/4 + 5*n^(1/4)/24 + sqrt(n)/2 + 4*n^(3/4)/3 - n) * n^(n + 1/8) / 2 * (1 + 1357/(2560*n^(1/4))). - Vaclav Kotesovec, Jan 02 2019
MAPLE
a := proc(n) option remember; local e, b, c, d;
e := n -> 4*n-2; b := n -> 3*(n-1)*(2*n-3);
c := n -> (n-1)*(n-2)*(4*n-9); d := n -> (n-2)*(n-1)*(n-3)^2;
if n < 4 then return [1, 2, 9, 60][n+1] fi;
e(n)*a(n-1) - b(n)*a(n-2) + c(n)*a(n-3) - d(n)*a(n-4) end:
seq(a(n), n=0..20);
PROG
(Sage) # uses[riordan_square from A321620]
R = riordan_square((1 - 3*x)^(-1/3), 24, True).inverse()
[sum([(-1)^(n-k)*c for k, c in enumerate(R.row(n))]) for n in (0..23)]
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Jan 02 2019
STATUS
approved