OFFSET
0,3
FORMULA
a(n) = (4*(2*n^2 - 11*n + 15)*a(n - 3) + 4*(2*n^2 - 9*n + 9)*a(n - 2) + 2*(n - 3)*a(n - 1)) / (n^2 - 3*n) for n >= 4.
MAPLE
gf := (1/2)*(1 + (2*x + 1)/sqrt(1 - 8*x^2*(x + 1)));
ser := series(gf, x, 30): seq(coeff(ser, x, n), n = 0..28);
# Recurrence:
a := proc(n) option remember; if n < 4 then return [1, 1, 2, 6][n + 1] fi:
(4*(2*n^2 - 11*n + 15)*a(n - 3) + 4*(2*n^2 - 9*n + 9)*a(n - 2) + 2*(n - 3)*a(n - 1)) / (n^2 - 3*n) end: seq(a(n), n = 0..28);
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Feb 28 2023
STATUS
approved