OFFSET
0,2
FORMULA
For n > 0, a(n) = 3*binomial(2*n-4,n-3)/n+2*binomial(2*n+1,n)/(n+2). - Tani Akinari, Nov 28 2024
MAPLE
a:= proc(n) option remember; `if`(n<3, 1+n^2,
2*(2*n-5)*(67*n^3-93*n^2-28*n+12)*a(n-1)/
((n+2)*(67*n^3-294*n^2+359*n-120)))
end:
seq(a(n), n=0..27); # Alois P. Heinz, Nov 28 2024
PROG
(Maxima) a(n):=if n=0 then 1 else 3*binomial(2*n-4, n-3)/n+2*binomial(2*n+1, n)/(n+2);
makelist(a(n), n, 0, 50); /* Tani Akinari, Nov 28 2024 */
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jun 06 2002
STATUS
approved